UNPKG

@3kles/3kles-ionauth

Version:
12 lines (11 loc) 331 B
import * as jwt from 'jsonwebtoken'; import { Options } from 'jwks-rsa'; export declare class IonAuth { private client; private option; constructor(option?: Partial<Options>); verify(accessToken: string): Promise<string | jwt.JwtPayload>; private initJwksClient; private getPublicKey; private getKid; }