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
43 44 45 |
# File 'lib/webrick/httpauth/authenticator.rb', line 43 def logger @logger end |
#realm ⇒ Object (readonly)
The realm this authenticator covers
33 34 35 |
# File 'lib/webrick/httpauth/authenticator.rb', line 33 def realm @realm end |
#userdb ⇒ Object (readonly)
The user database for this authenticator
38 39 40 |
# File 'lib/webrick/httpauth/authenticator.rb', line 38 def userdb @userdb end |