VerifyParameters<SpecificVerifyProperties>: {
        [key: string]: never;
    } extends SpecificVerifyProperties
    ? [jwt: string, props?: SpecificVerifyProperties]
    : [jwt: string, props: SpecificVerifyProperties]

Parameters used for verification of a JWT. The first parameter is the JWT, which is (of course) mandatory. The second parameter is an object with specific properties to use during verification. The second parameter is only mandatory if its mandatory members (e.g. audience) were not yet provided at verifier level. In that case, they must now be provided.

Type Parameters

  • SpecificVerifyProperties