node-jwt
    Preparing search index...

    Type Alias SignOptions

    type SignOptions = {
        alg?: SupportedAlgorithm;
        cty?: string;
        kid?: string;
        signatureFormat?: "der" | "jose";
        typ?: string;
    }
    Index

    Defaults to the JWK's alg, otherwise detected from the key.

    cty?: string

    Content type, e.g. "JWT" for nested JWTs (RFC 7519 section 5.2).

    kid?: string

    Defaults to the JWK's kid.

    signatureFormat?: "der" | "jose"

    ECDSA signature encoding. Defaults to 'jose' (r || s, RFC 7518 section 3.4). 'der' produces non-standard tokens for legacy interop only.

    typ?: string

    Defaults to "JWT".