mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
Code clean up
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user