supertokens-react-native
Version:
React Native SDK for SuperTokens
16 lines (15 loc) • 482 B
TypeScript
export default class FrontToken {
private static waiters;
private constructor();
private static getFrontTokenFromStorage;
static getFrontToken(): Promise<string | null>;
static getTokenInfo(): Promise<{
uid: string;
ate: number;
up: any;
} | undefined>;
private static setFrontToken;
static removeToken(): Promise<void>;
static setItem(frontToken: string): Promise<void>;
static doesTokenExists(): Promise<boolean>;
}