pricing4react
Version:
A library of components that ease the integration of feature toggling driven by pricing plans into your React application's UI.
13 lines (12 loc) • 368 B
TypeScript
declare class TokenService {
getLocalRefreshToken(): any;
getLocalPricingToken(): any;
getFromToken(key: string): any;
updateLocalPricingToken(token: string): void;
getUser(): any;
setUser(user: object): void;
removeUser(): void;
updateJWTToken(): Promise<void>;
}
declare const tokenService: TokenService;
export default tokenService;