isa-auth-core
Version:
12 lines (11 loc) • 381 B
TypeScript
declare class AuthBaseService {
constructor();
initStore(prevState: boolean): void;
getAuthState(): boolean;
setAuthState(value: boolean): void;
getAuthInfo(): any;
setAuthInfo(value: any): void;
watchAuthState<T extends HTMLElement>(callback: (auth: boolean) => void): void | (() => void);
clearAuthState(): void;
}
export default AuthBaseService;