Exception: MCP::Client::OAuth::Flow::InvalidTokenRequestParamsError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- MCP::Client::OAuth::Flow::InvalidTokenRequestParamsError
- Defined in:
- lib/mcp/client/oauth/flow.rb
Overview
Raised for a token_request_params value the SDK refuses: a reserved key, a Hash comparing keys by identity,
or anything but a Hash of Strings. An ArgumentError because the value is a configuration mistake,
not a failed authorization, and deliberately outside AuthorizationError, which MCP::Client::HTTP treats on
a failed refresh as a reason to run the interactive flow.