Dancer2::Plugin::Auth::Extensible::Provider::Base - base class for authentication providers
Base class for authentication providers. Provides a constructor which handles receiving the realm settings and returning an instance of the provider.
Also provides secure password matching which automatically handles crypted passwords via Crypt::SaltedHash.
Finally, provides the methods which providers must override with their implementation, which will die if they are not overridden.
Accessor for realm settings.
Accessor for realm DSL object.
Matches $given password with the $correct one.
$given
$correct
Encrypts password $password with $algorithm which defaults to SHA-1.
$password
$algorithm
To install Dancer2::Plugin::Auth::Extensible, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2::Plugin::Auth::Extensible
CPAN shell
perl -MCPAN -e shell install Dancer2::Plugin::Auth::Extensible
For more information on module installation, please visit the detailed CPAN module installation guide.