mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Revert "[CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp"
This reverts commit 73a9fe16
This commit is contained in:
@@ -294,13 +294,10 @@ export class ResetAuthenticationMessagesAction implements Action {
|
||||
export class RetrieveAuthMethodsAction implements Action {
|
||||
public type: string = AuthActionTypes.RETRIEVE_AUTH_METHODS;
|
||||
|
||||
payload: {
|
||||
status: AuthStatus;
|
||||
blocking: boolean;
|
||||
};
|
||||
payload: AuthStatus;
|
||||
|
||||
constructor(status: AuthStatus, blocking: boolean) {
|
||||
this.payload = { status, blocking };
|
||||
constructor(authStatus: AuthStatus) {
|
||||
this.payload = authStatus;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -311,14 +308,10 @@ export class RetrieveAuthMethodsAction implements Action {
|
||||
*/
|
||||
export class RetrieveAuthMethodsSuccessAction implements Action {
|
||||
public type: string = AuthActionTypes.RETRIEVE_AUTH_METHODS_SUCCESS;
|
||||
payload: AuthMethod[];
|
||||
|
||||
payload: {
|
||||
authMethods: AuthMethod[];
|
||||
blocking: boolean;
|
||||
};
|
||||
|
||||
constructor(authMethods: AuthMethod[], blocking: boolean ) {
|
||||
this.payload = { authMethods, blocking };
|
||||
constructor(authMethods: AuthMethod[] ) {
|
||||
this.payload = authMethods;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -329,12 +322,6 @@ export class RetrieveAuthMethodsSuccessAction implements Action {
|
||||
*/
|
||||
export class RetrieveAuthMethodsErrorAction implements Action {
|
||||
public type: string = AuthActionTypes.RETRIEVE_AUTH_METHODS_ERROR;
|
||||
|
||||
payload: boolean;
|
||||
|
||||
constructor(blocking: boolean) {
|
||||
this.payload = blocking;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user