@akveo/nga-auth
Version:
@akveo/nga-auth
18 lines (17 loc) • 605 B
TypeScript
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/do';
export declare class NgaTokenService {
protected options: any;
protected defaultConfig: any;
protected config: any;
protected token$: BehaviorSubject<any>;
constructor(options: any);
setConfig(config: any): void;
getConfigValue(key: string): any;
set(token: any): Observable<any>;
get(): Observable<any>;
tokenChange(): Observable<any>;
clear(): Observable<any>;
protected publishToken(token: any): void;
}