NAME
MooseX::Meta::Method::Role::Authorized
DESCRIPTION
This trait provides support for verifying roles before calling a method.
ATTRIBUTES
- requires
-
This attribute is an hash reference with the values that are going to be used by the authorized_do method when checking this invocation.
METHODS
-
Call the Api keys in trun. If you want to expand on this API simply add in you _sub and validation like the others
METHOD
- wrap
-
This role overrides wrap so that the actual method is only invoked after the authorization being checked.
SEE ALSO
http://search.cpan.org/dist/MooseX-AuthorizedMethodRoles/, Class::MOP::Method
AUTHOR
John Scoles, <byterock at hotmail.com>
COPYRIGHT AND LICENSE
Copyright 2010 by Daniel Ruoso et al
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.