Module: Rack::OAuth2::Server::Resource::MAC::ErrorMethods

Includes:
ErrorMethods
Defined in:
lib/rack/oauth2/server/resource/mac/error.rb

Constant Summary

Constant Summary

Constants included from ErrorMethods

ErrorMethods::DEFAULT_DESCRIPTION

Instance Method Summary (collapse)

Methods included from ErrorMethods

#bad_request!, #forbidden!, included

Instance Method Details

- (Object) unauthorized!(error = nil, description = nil, options = {})

Raises:



14
15
16
# File 'lib/rack/oauth2/server/resource/mac/error.rb', line 14

def unauthorized!(error = nil, description = nil, options = {})
  raise Unauthorized.new(error, description, options)
end