Exception: Rack::OAuth2::Server::Abstract::Unauthorized
- Defined in:
- lib/rack/oauth2/server/abstract/error.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Error
#description, #error, #realm, #status, #uri
Instance Method Summary collapse
-
#initialize(error = :unauthorized, description = nil, options = {}) ⇒ Unauthorized
constructor
A new instance of Unauthorized.
Methods inherited from Error
Constructor Details
#initialize(error = :unauthorized, description = nil, options = {}) ⇒ Unauthorized
Returns a new instance of Unauthorized.
44 45 46 47 |
# File 'lib/rack/oauth2/server/abstract/error.rb', line 44 def initialize(error = :unauthorized, description = nil, = {}) @skip_www_authenticate = [:skip_www_authenticate] super 401, error, description, end |