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

    Module oauth-resource-server

    OAuth 2.0 resource-server helpers for hosted MCP deployments.

    HTTP deployments can protect the MCP endpoint with bearer tokens while B2 credentials remain server-side or principal-scoped. This module loads OAuth configuration, publishes authorization-server/resource metadata, verifies tokens by introspection or JWKS, and converts verification failures into MCP OAuth challenge responses.

    OAuthBearerTokenVerifier
    OAuthDependencyError
    OAuthIntrospectionVerifier
    OAuthJwtVerifier
    AuthenticateOAuthRequestOptions
    OAuthEnvironmentVariables
    OAuthIntrospectionOnlyDiscriminator
    OAuthIntrospectionVerifierConfig
    OAuthJwtOnlyDiscriminator
    OAuthJwtVerifierConfig
    OAuthResourceServerCommonConfig
    OAuthVerifierOptions
    OAuthBearerTokenVerifierOptions
    OAuthDualVerifierConfig
    OAuthIntrospectionOnlyConfig
    OAuthIntrospectionVerifierOptions
    OAuthJwtOnlyConfig
    OAuthJwtVerifierOptions
    OAuthResourceServerConfig
    B2_OAUTH_SCOPES
    OAUTH_ENVIRONMENT_VARIABLES
    authenticateOAuthRequest
    loadOAuthResourceServerConfig
    oauthMetadataOptions
    oauthMetadataRouteResponse
    oauthRejectionResponse
    protectedResourceMetadata
    protectedResourceMetadataUrl
    validateOAuthResourceServerConfiguration
    validatePreverifiedOAuthAuthInfo