Parent

Class Index [+]

Quicksearch

Rack::Auth::AbstractRequest

Constants

AUTHORIZATION_KEYS
(Not documented)

Public Class Methods

new(env) click to toggle source

(Not documented)

   # File lib/rack/auth/abstract/request.rb, line 5
5:       def initialize(env)
6:         @env = env
7:       end

Public Instance Methods

params() click to toggle source

(Not documented)

    # File lib/rack/auth/abstract/request.rb, line 21
21:       def params
22:         @params ||= parts.last
23:       end
parts() click to toggle source

(Not documented)

    # File lib/rack/auth/abstract/request.rb, line 13
13:       def parts
14:         @parts ||= @env[authorization_key].split(' ', 2)
15:       end
provided?() click to toggle source

(Not documented)

    # File lib/rack/auth/abstract/request.rb, line 9
 9:       def provided?
10:         !authorization_key.nil?
11:       end
scheme() click to toggle source

(Not documented)

    # File lib/rack/auth/abstract/request.rb, line 17
17:       def scheme
18:         @scheme ||= parts.first.downcase.to_sym
19:       end

Private Instance Methods

authorization_key() click to toggle source

(Not documented)

    # File lib/rack/auth/abstract/request.rb, line 30
30:       def authorization_key
31:         @authorization_key ||= AUTHORIZATION_KEYS.detect { |key| @env.has_key?(key) }
32:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.