NAME

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

VERSION

version 0.013

METHODS

verify

Verifies a user credential. Returns 1 if it verifies, undef otherwise

if(not $credential_verifier->verify($password)) {
    # invalid password!
}

name

Returns the name of this verifier.

error_msg

Returns the error message if this verifier 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.