The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

authorized_do

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.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 96:

You forgot a '=back' before '=head1'

Around line 98:

'=item' outside of any '=over'

Around line 103:

You forgot a '=back' before '=head1'

Around line 106:

'=item' outside of any '=over'