Web::Authenticate::Session::Storage::Handler::Role - A Mouse::Role that defines what methods a Web::Authenticate::Session::Storage::Handler object should contain.
version 0.003
Creates a session for user in storage. Returns a Web::Authenticate::Session::Role upon success, undef upon failure.
my $session = $session_storage_handler->create_session($user, $session_id, $expires);
Gets the session with the session id $session_id, as long as it has not expired.
my $session = $session_storage_handler->get_session($session_id);
Updates the time a session expires.
$session_storage_handler->update_expires($session_id, $expires);
Deletes a session from storage.
$session_storage_handler->delete_session($session_id);
$session_storage_handler->invalidate_user_sessions($user);
Adam Hopkins <srchulo@cpan.org>
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.
To install Web::Authenticate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Authenticate
CPAN shell
perl -MCPAN -e shell install Web::Authenticate
For more information on module installation, please visit the detailed CPAN module installation guide.