NAME

PlugAuth::Role::Welcome - Role for PlugAuth reload plugins

VERSION

version 0.39

SYNOPSIS

 package PlugAuth::Plugin::MyRefresh;
 
 use Role::Tiny::With;
 
 with 'PlugAuth::Role::Plugin';
 with 'PlugAuth::Role::Welcome';
 
 sub welcome {
   my ($self, $c) = @_;
   # called on GET / requests
 }
 
 1;

DESCRIPTION

Use this role for PlugAuth plugins which provide alternate functionality for the default GET / route.

REQUIRED ABSTRACT METHODS

$plugin->welcome( $controller )

Called on GET / routes

SEE ALSO

PlugAuth, PlugAuth::Guide::Plugin,

AUTHOR

Graham Ollis <gollis@sesda3.com>

COPYRIGHT AND LICENSE

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.