PlugAuth::Role::Plugin - Role for PlugAuth plugins
version 0.30
package PlugAuth::Plugin::MyPlugin; use Role::Tiny::With; with 'PlugAuth::Role::Plugin'; sub init { my($self) = @_; # called immediately after plugin is # created. } 1;
Use this role when writing PlugAuth plugins.
You may define these methods in your plugin.
This method is called after the object is created.
Get the global PlugAuth configuration (an instance of Clustericious::Config).
Get the plugin specific configuration. This method may be called as either an instance or class method.
Returns the PlugAuth instance for the running PlugAuth server.
PlugAuth, PlugAuth::Guide::Plugin
Graham Ollis <gollis@sesda3.com>
This software is copyright (c) 2012 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install PlugAuth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PlugAuth
CPAN shell
perl -MCPAN -e shell install PlugAuth
For more information on module installation, please visit the detailed CPAN module installation guide.