Code clean up

This commit is contained in:
Julius Gruber
2019-10-08 16:39:19 +02:00
parent f9d9ca6191
commit 593018021d
2 changed files with 1 additions and 17 deletions

View File

@@ -58,22 +58,6 @@ export class AuthEffects {
})
);
/* /!**
* Authenticate user.
* @method authenticate
*!/
@Effect()
public shibbolethAuthenticate$: Observable<Action> = 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