@bixi/auth
Version:
9 lines (8 loc) • 306 B
TypeScript
import { InjectionToken } from '@angular/core';
import { ITokenModel } from '../token/interface';
export declare const BIXI_STORE_TOKEN: InjectionToken<IStore>;
export interface IStore {
get(key: string): ITokenModel;
set(key: string, value: ITokenModel): boolean;
remove(key: string): void;
}