feat(login): add login authentication and authorization (#122)

Add login basic authentication, oauth2 authentication, two factor
authentication and authorization and allow to reset password on expiry.

Fixes #117, #118, #119, #120
This commit is contained in:
Abhay Chawla
2018-07-14 20:09:27 +05:30
committed by GitHub
parent 91e9744bb8
commit d9c35b8759
33 changed files with 953 additions and 271 deletions
+7 -1
View File
@@ -7,6 +7,9 @@ import { TranslateModule } from '@ngx-translate/core';
import { LoginRoutingModule } from './login-routing.module';
import { LoginComponent } from './login.component';
import { CoreModule } from '../core/core.module';
import { LoginFormComponent } from './login-form/login-form.component';
import { TwoFactorAuthenticationComponent } from './two-factor-authentication/two-factor-authentication.component';
import { ResetPasswordComponent } from './reset-password/reset-password.component';
@NgModule({
imports: [
@@ -18,7 +21,10 @@ import { CoreModule } from '../core/core.module';
LoginRoutingModule
],
declarations: [
LoginComponent
LoginComponent,
LoginFormComponent,
TwoFactorAuthenticationComponent,
ResetPasswordComponent
]
})
export class LoginModule { }