NAME

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

VERSION

version 0.009

METHODS

load_user

Accepts the parameters passed to "login" in Web::Authenticate and validates the login and returns the user matching the passed data. Returns a Web::Authenticate::User upon success, undef otherwise.

load_user_by_id

Loads a user by their id.

store_user

Accepts the parameters passed to "login" in Web::Authenticate and creates a user with those credentials. Returns a Web::Authenticate::User upon success, undef otherwise.

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.