mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Added auth token to auth state
This commit is contained in:
@@ -75,11 +75,12 @@ export class AuthenticatedSuccessAction implements Action {
|
||||
public type: string = AuthActionTypes.AUTHENTICATED_SUCCESS;
|
||||
payload: {
|
||||
authenticated: boolean;
|
||||
authToken: AuthTokenInfo;
|
||||
user: Eperson
|
||||
};
|
||||
|
||||
constructor(authenticated: boolean, user: Eperson) {
|
||||
this.payload = { authenticated, user };
|
||||
constructor(authenticated: boolean, authToken: AuthTokenInfo, user: Eperson) {
|
||||
this.payload = { authenticated, authToken, user };
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user