UNPKG

supertokens-node

Version:
12 lines (11 loc) 442 B
import SessionRecipe from "./sessionRecipe"; export declare function getInfoFromAccessToken(recipeInstance: SessionRecipe, token: string, jwtSigningPublicKey: string, doAntiCsrfCheck: boolean): Promise<{ sessionHandle: string; userId: string; refreshTokenHash1: string; parentRefreshTokenHash1: string | undefined; userData: any; antiCsrfToken: string | undefined; expiryTime: number; timeCreated: number; }>;