Dancer-Plugin-Auth-Extensible
view release on metacpan or search on metacpan
lib/Dancer/Plugin/Auth/Extensible/Provider/Base.pm view on Meta::CPAN
Finally, provides the methods which providers must override with their
implementation, which will die if they are not overridden.
=cut
sub new {
my ($class, $realm_settings) = @_;
my $self = {
realm_settings => $realm_settings,
};
return bless $self => $class;
}
sub realm_settings { shift->{realm_settings} || {} }
sub match_password {
my ($self, $given, $correct) = @_;
# TODO: perhaps we should accept a configuration option to state whether
( run in 0.563 second using v1.01-cache-2.11-cpan-65fba6d93b7 )