supertokens-node
Version:
NodeJS driver for SuperTokens core
12 lines (11 loc) • 442 B
TypeScript
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;
}>;