Module: Rack::OAuth2::Server::Resource::Bearer::ErrorMethods
- Includes:
- ErrorMethods
- Defined in:
- lib/rack/oauth2/server/resource/bearer/error.rb
Constant Summary
Constants included from ErrorMethods
ErrorMethods::DEFAULT_DESCRIPTION
Instance Method Summary collapse
Methods included from ErrorMethods
#bad_request!, #forbidden!, included
Instance Method Details
#unauthorized!(error = nil, description = nil, options = {}) ⇒ Object
14 15 16 |
# File 'lib/rack/oauth2/server/resource/bearer/error.rb', line 14 def (error = nil, description = nil, = {}) raise Unauthorized.new(error, description, ) end |