Sha256: 3cb45adc815f5098ca8f7b02201eb1c1dc1ee3e973d8ed60c39937cba2481730
Contents?: true
Size: 549 Bytes
Versions: 108
Compression:
Stored size: 549 Bytes
Contents
module Rack module OAuth2 module Server class Resource class Bearer class Unauthorized < Resource::Unauthorized def scheme :Bearer end end module ErrorMethods include Resource::ErrorMethods def unauthorized!(error = nil, description = nil, options = {}) raise Unauthorized.new(error, description, options) end end Request.send :include, ErrorMethods end end end end end
Version data entries
108 entries across 108 versions & 2 rubygems