From 593018021d31ad1b43841124c0dfcf69c051cbde Mon Sep 17 00:00:00 2001 From: Julius Gruber Date: Tue, 8 Oct 2019 16:39:19 +0200 Subject: [PATCH] Code clean up --- src/app/core/auth/auth.effects.ts | 16 ---------------- src/app/shared/log-in/log-in.component.ts | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/app/core/auth/auth.effects.ts b/src/app/core/auth/auth.effects.ts index 1f9c0df1bf..11fa0601c8 100644 --- a/src/app/core/auth/auth.effects.ts +++ b/src/app/core/auth/auth.effects.ts @@ -58,22 +58,6 @@ export class AuthEffects { }) ); -/* /!** - * Authenticate user. - * @method authenticate - *!/ - @Effect() - public shibbolethAuthenticate$: Observable = this.actions$.pipe( - ofType(AuthActionTypes.START_SHIBBOLETH_AUTHENTICATION), - switchMap((action: StartShibbolethAuthenticationAction) => { - return this.authService.shibbolethAuthenticate(action.payload.location).pipe( - take(1), - map((response: AuthStatus) => new AuthenticationSuccessAction(response.token)), - catchError((error) => observableOf(new AuthenticationErrorAction(error))) - ); - }) - );*/ - /** * Shib Login. * @method shibLogin diff --git a/src/app/shared/log-in/log-in.component.ts b/src/app/shared/log-in/log-in.component.ts index 81c52830a9..344a36ae55 100644 --- a/src/app/shared/log-in/log-in.component.ts +++ b/src/app/shared/log-in/log-in.component.ts @@ -20,7 +20,7 @@ export class LogInComponent implements OnInit, OnDestroy { private authMethods: AuthMethodModel[]; - private injectedAuthMethods: InjectedAuthMethodModel[]; + public injectedAuthMethods: InjectedAuthMethodModel[]; @Input() isStandalonePage: boolean;