User database mixin for HTTPAuth. This mixin dispatches user record access to the underlying #auth_type for this database.
Methods
- G
- M
- S
Attributes
[RW] | auth_type | The authentication type. WEBrick::HTTPAuth::BasicAuth or WEBrick::HTTPAuth::DigestAuth are built-in. |
Instance Public methods
get_passwd(realm, user, reload_db=false)
Link
Retrieves a password in realm
for user
for the #auth_type of this database.
reload_db
is a dummy value.
make_passwd(realm, user, pass)
Link
Creates an obscured password in realm
with user
and password
using the #auth_type of this database.
set_passwd(realm, user, pass)
Link
Sets a password in realm
with user
and
password
for the #auth_type of this database.