export abstract class AuthenticationService {
* Current user value of authentication service
readonly currentUserValue: ApplicationUser;
* Current user of authentication service
* An `Observable` that emit whenever currentUser changed.
readonly currentUser: Observable<ApplicationUser>;
* Logins authentication service
* @param loginmodel Information needed for login
abstract login(loginmodel: LoginModel): Promise<LoginResult>;
* Logouts authentication service
abstract logout(): Promise<boolean>;
* Refreshs authentication service
abstract refresh(): Promise<ApplicationUser>;