Exception: Doorkeeper::Errors::MultipleClientAuthMethods

Inherits:
DoorkeeperError
  • Object
show all
Defined in:
lib/doorkeeper/errors.rb

Overview

Raised when a request uses more than one client authentication method, which RFC 6749 ยง2.3 explicitly forbids ("The client MUST NOT use more than one authentication method in each request").

Instance Method Summary collapse

Methods inherited from DoorkeeperError

translate_options

Instance Method Details

#reasonObject



35
36
37
# File 'lib/doorkeeper/errors.rb', line 35

def reason
  :multiple_client_auth_methods
end

#typeObject



31
32
33
# File 'lib/doorkeeper/errors.rb', line 31

def type
  :invalid_request
end