Improvement for authentication module

This commit is contained in:
Giuseppe Digilio
2018-02-09 09:55:55 +01:00
parent ae584915cf
commit 2f19f32d91
23 changed files with 431 additions and 124 deletions

View File

@@ -1,4 +1,7 @@
import { AuthError } from './auth-error.model';
import { AuthTokenInfo } from './auth-token-info.model';
import { DSpaceObject } from '../../shared/dspace-object.model';
import { Eperson } from '../../eperson/models/eperson.model';
export class AuthStatus extends DSpaceObject {
@@ -6,4 +9,9 @@ export class AuthStatus extends DSpaceObject {
authenticated: boolean;
error?: AuthError;
eperson: Eperson[];
token?: AuthTokenInfo
}