mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Fixes for authentication (awaiting fixes in EPerson REST endpoint)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
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';
|
||||
import { RemoteData } from '../../data/remote-data';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
export class AuthStatus {
|
||||
|
||||
@@ -13,7 +14,7 @@ export class AuthStatus {
|
||||
|
||||
error?: AuthError;
|
||||
|
||||
eperson: Eperson[];
|
||||
eperson: Observable<RemoteData<Eperson>>;
|
||||
|
||||
token?: AuthTokenInfo;
|
||||
|
||||
|
Reference in New Issue
Block a user