module Rack::OAuth2::Server::Resource::Bearer::ErrorMethods

Public Instance Methods

unauthorized!(error = nil, description = nil, options = {}) click to toggle source
# File lib/rack/oauth2/server/resource/bearer/error.rb, line 14
def unauthorized!(error = nil, description = nil, options = {})
  raise Unauthorized.new(error, description, options)
end