App::Authentication - Interface for authentication and authorization
use App; $context = App->context(); $authentication = $context->service("Authentication"); # or ... $authentication = $context->authentication(); if ($authentication->validate_password($username, $password)) { ... }
An Authentication service is a means by which a user may be authenticated.
The following classes might be a part of the Authentication Class Group.
Class: App::Authentication
Class: App::Authentication::Passwd
Class: App::Authentication::DBI
Class: App::Authentication::Repository
Class: App::Authentication::SMB
Class: App::Authentication::LDAP
Class: App::Authentication::Radius
Class: App::Authentication::Kerberos
Class: App::Authentication::SSL
Class: App::Authentication::DCE
A Authentication service is a means by which a user may be authenticated and by which he may be authorized to perform specific operations.
* Throws: App::Exception::Authentication * Since: 0.01
...
The constructor is inherited from App::Service.
App::Service
* Signature: $username = $auth->validate_password(); * Param: void * Return: $username string * Throws: App::Exception::Authentication * Since: 0.01 Sample Usage: $username = $auth->validate_password();
* Signature: $service_type = App::Authentication->service_type(); * Param: void * Return: $service_type string * Since: 0.01 $service_type = $authen->service_type();
Returns 'Authentication';
* Author: Stephen Adkins <spadkins@gmail.com> * License: This is free software. It is licensed under the same terms as Perl itself.
App::Context, App::Service
App::Context
To install App::Context, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Context
CPAN shell
perl -MCPAN -e shell install App::Context
For more information on module installation, please visit the detailed CPAN module installation guide.