@auth0/auth0-spa-js
Version:
Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE
22 lines (21 loc) • 495 B
TypeScript
import { IdToken, JWTVerifyOptions } from './global';
export declare const decode: (token: string) => {
encoded: {
header: string;
payload: string;
signature: string;
};
header: any;
claims: IdToken;
user: any;
};
export declare const verify: (options: JWTVerifyOptions) => {
encoded: {
header: string;
payload: string;
signature: string;
};
header: any;
claims: IdToken;
user: any;
};