UNPKG

@simplewebauthn/server

Version:
11 lines 428 B
/** * Lightweight verification for FIDO MDS JWTs. Supports use of EC2 and RSA. * * If this ever needs to support more JWS algorithms, here's the list of them: * * https://www.rfc-editor.org/rfc/rfc7518.html#section-3.1 * * (Pulled from https://www.rfc-editor.org/rfc/rfc7515#section-4.1.1) */ export declare function verifyJWT(jwt: string, leafCert: Uint8Array): Promise<boolean>; //# sourceMappingURL=verifyJWT.d.ts.map