kawkab-frontend
Version:
Kawkab frontend is a frontend library for the Kawkab framework
11 lines (10 loc) • 316 B
TypeScript
import type { ClientStorage } from './ClientStorage';
export declare class AuthManager {
private storage;
private tokenKey;
constructor(storage: ClientStorage, tokenKey?: string);
setToken(token: string): void;
getToken(): string | null;
clearToken(): void;
isAuthenticated(): boolean;
}