Exception: MCP::Client::OAuth::Flow::AuthorizationRefusedError

Inherits:
AuthorizationError
  • Object
show all
Defined in:
lib/mcp/client/oauth/flow.rb

Overview

Raised when authorization_request_validator returns a falsy value. Separate from its parent so that a caller can tell a refusal by its own policy from a network, discovery, or authorization server metadata failure by rescuing a class rather than by matching the message text.