Exception: Rack::OAuth2::Server::Abstract::Forbidden

Inherits:
Error
  • Object
show all
Defined in:
lib/rack/oauth2/server/abstract/error.rb

Direct Known Subclasses

Resource::Forbidden

Instance Attribute Summary

Attributes inherited from Error

#description, #error, #realm, #status, #uri

Instance Method Summary collapse

Methods inherited from Error

#finish, #protocol_params

Constructor Details

#initialize(error = :forbidden, description = nil, options = {}) ⇒ Forbidden

Returns a new instance of Forbidden.



50
51
52
# File 'lib/rack/oauth2/server/abstract/error.rb', line 50

def initialize(error = :forbidden, description = nil, options = {})
  super 403, error, description, options
end