mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp
This commit is contained in:
@@ -292,10 +292,13 @@ export class ResetAuthenticationMessagesAction implements Action {
|
||||
export class RetrieveAuthMethodsAction implements Action {
|
||||
public type: string = AuthActionTypes.RETRIEVE_AUTH_METHODS;
|
||||
|
||||
payload: AuthStatus;
|
||||
payload: {
|
||||
status: AuthStatus;
|
||||
blocking: boolean;
|
||||
};
|
||||
|
||||
constructor(authStatus: AuthStatus) {
|
||||
this.payload = authStatus;
|
||||
constructor(status: AuthStatus, blocking: boolean) {
|
||||
this.payload = { status, blocking };
|
||||
}
|
||||
}
|
||||
|
||||
@@ -306,10 +309,14 @@ export class RetrieveAuthMethodsAction implements Action {
|
||||
*/
|
||||
export class RetrieveAuthMethodsSuccessAction implements Action {
|
||||
public type: string = AuthActionTypes.RETRIEVE_AUTH_METHODS_SUCCESS;
|
||||
payload: AuthMethod[];
|
||||
|
||||
constructor(authMethods: AuthMethod[] ) {
|
||||
this.payload = authMethods;
|
||||
payload: {
|
||||
authMethods: AuthMethod[];
|
||||
blocking: boolean;
|
||||
};
|
||||
|
||||
constructor(authMethods: AuthMethod[], blocking: boolean ) {
|
||||
this.payload = { authMethods, blocking };
|
||||
}
|
||||
}
|
||||
|
||||
@@ -320,6 +327,12 @@ 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