UNPKG

@berlingske-media/bm.node-module.gateway_jwt

Version:

AuthGateway JWT verification library based on public JWKS endpoint

9 lines (8 loc) 242 B
import { getSpki } from './utils'; export interface SigningKey { publicKey: ReturnType<typeof getSpki>; rsaPublicKey: ReturnType<typeof getSpki>; getPublicKey: ReturnType<() => typeof getSpki>; kid: string; alg: string; }