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

    Class OAuthBearerTokenVerifier

    Composite bearer-token verifier for hosted MCP requests.

    Dual-mode deployments prefer introspection because it can enforce revocation. JWKS verification is used when no introspection endpoint is configured.

    Implements

    • OAuthTokenVerifier
    Index
    • Verify a bearer token with the configured mechanism.

      Parameters

      • token: string

        Raw bearer token value without the Bearer prefix.

      Returns Promise<AuthInfo>

      MCP auth information for the verified token.

      OAuthError when no verifier is configured or the token is rejected.

      OAuthDependencyError when the selected verifier cannot reach its OAuth dependency.