import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { ReactiveFormsModule } from '@angular/forms';

import { FlashMessageModule } from '../flash-message/flash-message.module';
import { LoginComponent } from './login/login.component';
import { PasswordResetComponent } from './password-reset/password-reset.component';
import { AdminGuard } from './admin.guard';
import { LoggedInGuard } from './logged-in.guard';

@NgModule({
  imports: [
    CommonModule,
    ReactiveFormsModule,
    HttpClientModule,
    FlashMessageModule
  ],
  declarations: [LoginComponent, PasswordResetComponent],
  providers: [AdminGuard, LoggedInGuard],
  exports: [LoginComponent, PasswordResetComponent]
})
export class AuthenticationModule {}
