@backblaze-labs/b2-mcp
    Preparing search index...

    Interface OAuthJwtVerifierConfig

    Configuration required to verify JWT bearer tokens with a JWKS endpoint.

    interface OAuthJwtVerifierConfig {
        allowedAlgorithms: string[];
        allowedJwtAlgorithms: string[];
        allowedJwtTypes: string[];
        allowedSubjects: string[];
        allowedTokenTypes: string[];
        audience: string;
        authorizationEndpoint: string;
        dangerouslyAllowInsecureIssuerUrl: boolean;
        dangerouslyAllowUnauthenticatedIntrospection: boolean;
        issuer: string;
        jwksCacheMinTtlSeconds: number;
        jwksCacheTtlSeconds: number;
        jwksCircuitFailures: number;
        jwksCircuitOpenMs: number;
        jwksMaxRetries: number;
        jwksRefreshCooldownMs: number;
        jwksRetryDelayMs: number;
        jwksTimeoutMs: number;
        jwksUri: string;
        jwtClockSkewSeconds: number;
        publicUrl: string;
        requiredScopes: string[];
        resource: string;
        serviceDocumentationUrl?: string;
        tokenCacheMaxEntries: number;
        tokenCacheSkewSeconds: number;
        tokenCacheTtlSeconds: number;
        tokenEndpoint: string;
    }

    Hierarchy (View Summary)

    Index
    allowedAlgorithms: string[]

    Allowed token algorithms for introspection responses and JWTs.

    allowedJwtAlgorithms: string[]

    Allowed JWT signature algorithms for local verification.

    allowedJwtTypes: string[]

    Allowed JWT typ header values.

    allowedSubjects: string[]

    Allowed OAuth subjects or issuer-qualified subjects.

    allowedTokenTypes: string[]

    Allowed token type values from introspection responses.

    audience: string

    Expected OAuth audience value.

    authorizationEndpoint: string

    Authorization endpoint advertised in OAuth metadata.

    dangerouslyAllowInsecureIssuerUrl: boolean

    Whether localhost-only insecure issuer URLs are allowed for development.

    dangerouslyAllowUnauthenticatedIntrospection: boolean

    Whether introspection may run without client or bearer authentication.

    issuer: string

    Trusted OAuth issuer URL.

    jwksCacheMinTtlSeconds: number

    Minimum JWKS cache TTL in seconds.

    jwksCacheTtlSeconds: number

    Maximum JWKS cache TTL in seconds.

    jwksCircuitFailures: number

    Consecutive dependency failures before opening the JWKS circuit.

    jwksCircuitOpenMs: number

    JWKS circuit open duration in milliseconds.

    jwksMaxRetries: number

    Maximum retry attempts for JWKS dependency calls.

    jwksRefreshCooldownMs: number

    Cooldown in milliseconds before refreshing JWKS for an unknown kid.

    jwksRetryDelayMs: number

    Retry delay in milliseconds for JWKS dependency calls.

    jwksTimeoutMs: number

    JWKS request timeout in milliseconds.

    jwksUri: string

    JWKS endpoint URL.

    jwtClockSkewSeconds: number

    Allowed clock skew in seconds for JWT numeric-date claims.

    publicUrl: string

    Public MCP deployment URL used when constructing metadata URLs.

    requiredScopes: string[]

    Required OAuth scopes beyond the B2 deployment scope.

    resource: string

    OAuth protected resource URL for this MCP deployment.

    serviceDocumentationUrl?: string

    Optional service documentation URL advertised in metadata.

    tokenCacheMaxEntries: number

    Maximum cached token entries.

    tokenCacheSkewSeconds: number

    Token-cache expiration skew in seconds.

    tokenCacheTtlSeconds: number

    Token-cache TTL in seconds.

    tokenEndpoint: string

    Token endpoint advertised in OAuth metadata.