MCP TypeScript SDK (V2)
    Preparing search index...

    Options for creating a PrivateKeyJwtProvider.

    interface PrivateKeyJwtProviderOptions {
        algorithm: string;
        clientId: string;
        clientName?: string;
        jwtLifetimeSeconds?: number;
        privateKey: string | Record<string, unknown> | Uint8Array<ArrayBufferLike>;
    }
    Index

    Properties

    algorithm: string

    The algorithm to use for signing (e.g., 'RS256', 'ES256').

    clientId: string

    The client_id for this OAuth client.

    clientName?: string

    Optional client name for metadata.

    jwtLifetimeSeconds?: number

    Optional JWT lifetime in seconds (default: 300).

    privateKey: string | Record<string, unknown> | Uint8Array<ArrayBufferLike>

    The private key for signing JWT assertions. Can be a PEM string, Uint8Array, or JWK object.