SignJwtOptions: {
    header?: {
        typ: string;
    };
    payload: JwtPayload;
    signerDid: BearerDid;
}

Parameters for signing a JWT.

Type declaration

  • Optional header?: {
        typ: string;
    }

    Overridable header parameters

    • typ: string

      Type Header Parameter

  • payload: JwtPayload

    The payload to sign.

  • signerDid: BearerDid

    The DID of the signer.