| App-Context documentation | view source | Contained in the App-Context distribution. |
App::Authorization - A service that is used by various application components to know what the current user is authorized to do
use App;
$context = App->context();
$auth = $context->service("Authorization"); # or ...
$auth = $context->authorization();
An Authorization service is a means by which by various application components to know what the current user is authorized to do.
The following classes might be a part of the Authorization Class Group.
An Authorization service ...
* Throws: App::Exception::Authorization * Since: 0.01
...
The constructor is inherited from
App::Service|App::Service/"new()".
Returns 'Authorization';
* Signature: $service_type = App::Authorization->service_type();
* Param: void
* Return: $service_type string
* Since: 0.01
$service_type = $auth->service_type();
* Author: Stephen Adkins <spadkins@gmail.com> * License: This is free software. It is licensed under the same terms as Perl itself.
App::Context|App::Context,
App::Service|App::Service
| App-Context documentation | view source | Contained in the App-Context distribution. |