Cerbos JavaScript SDK
    Preparing search index...

    Interface JWT

    A JSON Web Token to use as an auxiliary data source, which will be verified against the Cerbos policy decision point (PDP) server's configured JSON Web Key Sets (JWKS) unless verification is disabled on the server.

    interface JWT {
        keySetId?: string;
        token: string;
    }
    Index

    Properties

    Properties

    keySetId?: string

    The ID of the JWKS to be used by the PDP server to verify the JWT.

    Optional if the PDP server only has one JWKS configured or verification disabled.

    token: string

    The encoded JWT.