Exception: Basecamp::Oauth::Discovery::IssuerBindingError

Inherits:
OauthError
  • Object
show all
Defined in:
lib/basecamp/oauth/discovery.rb

Overview

Structured marker: AS metadata failed the RFC 8414 issuer code-point bind. Raised (never message-matched) so Basecamp::Oauth.discover_from_resource classifies an issuer mismatch by CLASS via Basecamp::Oauth.as_failure_error — brittle, locale-sensitive substring matching is gone. Kept in the discovery layer, deliberately NOT in the device error files that DeviceFlowError shares.

Instance Method Summary collapse

Constructor Details

#initialize(message, http_status: nil) ⇒ IssuerBindingError

Returns a new instance of IssuerBindingError.



16
17
18
# File 'lib/basecamp/oauth/discovery.rb', line 16

def initialize(message, http_status: nil)
  super("api_error", message, http_status: http_status)
end