Class: Rack::AuthenticationBearer
- Inherits:
-
Object
- Object
- Rack::AuthenticationBearer
- Defined in:
- lib/rack/authentication_bearer.rb,
lib/rack/authentication_bearer/version.rb
Constant Summary collapse
- EXPRESSION =
/^Bearer\s+/
- RACK_KEY =
"rack.authentication"
- AUTHENTICATION_KEY =
"HTTP_AUTHENTICATION"
- AUTHORIZATION_KEY =
"HTTP_AUTHORIZATION"
- VERSION =
"1.0.0"
Instance Method Summary collapse
- #call(previous_state) ⇒ Object
-
#initialize(stack, &process) ⇒ AuthenticationBearer
constructor
A new instance of AuthenticationBearer.
Constructor Details
#initialize(stack, &process) ⇒ AuthenticationBearer
Returns a new instance of AuthenticationBearer.
12 13 14 15 |
# File 'lib/rack/authentication_bearer.rb', line 12 def initialize(stack, &process) @stack = stack @process = process if block_given? end |