Module: WEBrick::HTTPAuth::Authenticator
- Included in:
- BasicAuth, DigestAuth
- Defined in:
- lib/webrick/httpauth/authenticator.rb
Overview
Module providing generic support for both Digest and Basic authentication schemes.
Constant Summary collapse
- RequestField =
:nodoc:
"Authorization"
- ResponseField =
:nodoc:
"WWW-Authenticate"
- ResponseInfoField =
:nodoc:
"Authentication-Info"
- AuthException =
:nodoc:
HTTPStatus::Unauthorized
- AuthScheme =
Method of authentication, must be overridden by the including class
nil
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
The logger for this authenticator.
-
#realm ⇒ Object
readonly
The realm this authenticator covers.
-
#userdb ⇒ Object
readonly
The user database for this authenticator.
Instance Attribute Details
#logger ⇒ Object (readonly)
The logger for this authenticator
42 43 44 |
# File 'lib/webrick/httpauth/authenticator.rb', line 42 def logger @logger end |
#realm ⇒ Object (readonly)
The realm this authenticator covers
32 33 34 |
# File 'lib/webrick/httpauth/authenticator.rb', line 32 def realm @realm end |
#userdb ⇒ Object (readonly)
The user database for this authenticator
37 38 39 |
# File 'lib/webrick/httpauth/authenticator.rb', line 37 def userdb @userdb end |