Methods
N
P
R
S
V
Constants
AUTHORIZATION_KEYS = ['HTTP_AUTHORIZATION', 'X-HTTP_AUTHORIZATION', 'X_HTTP_AUTHORIZATION']
 
Class Public methods
new(env)
# File lib/rack/auth/abstract/request.rb, line 7
def initialize(env)
  @env = env
end
Instance Public methods
params()
# File lib/rack/auth/abstract/request.rb, line 31
def params
  @params ||= parts.last
end
parts()
# File lib/rack/auth/abstract/request.rb, line 23
def parts
  @parts ||= @env[authorization_key].split(' ', 2)
end
provided?()
# File lib/rack/auth/abstract/request.rb, line 15
def provided?
  !authorization_key.nil? && valid?
end
request()
# File lib/rack/auth/abstract/request.rb, line 11
def request
  @request ||= Request.new(@env)
end
scheme()
# File lib/rack/auth/abstract/request.rb, line 27
def scheme
  @scheme ||= parts.first && parts.first.downcase
end
valid?()
# File lib/rack/auth/abstract/request.rb, line 19
def valid?
  !@env[authorization_key].nil?
end