NAME

App::Authentication - Interface for authentication and authorization

SYNOPSIS

use App;

$context = App->context();
$security = $context->service("Authentication");  # or ...
$security = $context->authentication();

... TBD ...

DESCRIPTION

An Authentication service is a means by which a user may be authenticated.

Class Group: Authentication

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

Class: App::Authentication

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

Class Design

...

Constructor Methods:

new()

The constructor is inherited from App::Service.

Public Methods:

get_username()

* Signature: $username = $auth->get_username();
* Param:     void
* Return:    $username        string
* Throws:    App::Exception::Authentication
* Since:     0.01

Sample Usage:

$username = $auth->get_username();

service_type()

* Signature: $service_type = App::Authentication->service_type();
* Param:     void
* Return:    $service_type  string
* Since:     0.01

$service_type = $authen->service_type();

Returns 'Authentication';

ACKNOWLEDGEMENTS

* Author:  Stephen Adkins <spadkins@gmail.com>
* License: This is free software. It is licensed under the same terms as Perl itself.

SEE ALSO

App::Context, App::Service