NAME

Web::Authenticate::Authenticator::Role - A Mouse::Role that defines what methods a Web::Authenticate::Authenticator object should contain.

VERSION

version 0.013

METHODS

authenticate

Authenticates a user based on some criteria. Returns true (1) or false (undef).

my $authenticated = $authenticator->authenticate($user);

name

Returns the name of this authenticator.

error_msg

Returns the error message if this authenticator fails.

AUTHOR

Adam Hopkins <srchulo@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Adam Hopkins.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.