Name

Mojito::Auth::Deep - common auth parts

Methods

add_user

Provide the username, realm (default Mojito) and password.

Attributes

Methods

authen_cb

The authentication callback used by Plack::Middleware::Authen::Basic.

_build_digest_authen_cb

The authentication callback used by Plack::Middleware::Authen::Digest.

get_password_for

Given a username, return their password.

get_HA1_for

Given a username, return their HA1 := md5_hex("$username:$realm:$password")

secret

Used by Plack::Middleware::Auth::Digest