NAME

Web::Authenticate::Result::Login - The result of calling Web::Authenticate::login.

VERSION

version 0.012

METHODS

success

Returns 1 if the call to "login" in Web::Authenticate was successful, undef otherwise.

invalid_username_or_password

Returns 1 if the username and/or password were invalid. Undef otherwise. This is the same as checking if "user" is undef.

user

Returns the user that was logged in. Checking if this is undef is the same as calling "invalid_username_or_password".

failed_authenticator

Returns the authenticator that caused the "login" in Web::Authenticate to fail, if there was one.

auth_redir

Returns the Web::Authenticate::Authenticator::Redirect::Role object that login used to redirect.

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.