Frodo Library - v4.8.5
    Preparing search index...

    Type Alias Jose

    type Jose = {
        createJwkRsa(): Promise<JwkRsa>;
        createJwks(...keys: JwkInterface[]): JwksInterface;
        createSignedJwtToken(
            payload: string | object,
            jwkJson: JwkRsa,
        ): Promise<any>;
        getJwkRsaPublic(jwkJson: JwkRsa): Promise<JwkRsaPublic>;
        verifyJwtAgainstJwks(
            jwt: string,
            jwks: ExternalJwksDocument,
        ): Promise<Record<string, unknown>>;
        verifySignedJwtToken(jwt: string, jwkJson: JwkRsaPublic): Promise<any>;
    }
    Index

    Methods

    • Parameters

      • payload: string | object
      • jwkJson: JwkRsa

      Returns Promise<any>

    • Verifies a JWT's signature against an arbitrary JWKS document (e.g. a third-party OIDC provider's published key set) and returns its decoded payload. Pure signature verification only — issuer, audience, and expiry are the caller's responsibility.

      Parameters

      Returns Promise<Record<string, unknown>>