interface JwksCache {
    addJwks(jwksUri, jwks): void;
    getCachedJwk(jwksUri, decomposedJwt): JwkWithKid;
    getJwk(jwksUri, decomposedJwt): Promise<JwkWithKid>;
    getJwks(jwksUri): Promise<Jwks>;
}

Methods

  • Parameters

    • jwksUri: string
    • jwks: Jwks

    Returns void

  • Parameters

    • jwksUri: string

    Returns Promise<Jwks>