mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 13:03:04 +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.
|
* Shib Login.
|
||||||
* @method shibLogin
|
* @method shibLogin
|
||||||
|
@@ -20,7 +20,7 @@ export class LogInComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
private authMethods: AuthMethodModel[];
|
private authMethods: AuthMethodModel[];
|
||||||
|
|
||||||
private injectedAuthMethods: InjectedAuthMethodModel[];
|
public injectedAuthMethods: InjectedAuthMethodModel[];
|
||||||
|
|
||||||
@Input() isStandalonePage: boolean;
|
@Input() isStandalonePage: boolean;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user