Deprecated.
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
NAME
PlugAuth::Role::Refresh - 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::Refresh';
sub refresh {
my ($self) = @_;
# called on every request
}
1;
DESCRIPTION
Use this role for PlugAuth plugins which need to be refreshed on every call. You will likely want to mix this role in with either or both PlugAuth::Role::Auth and PlugAuth::Role::Authz.
REQUIRED ABSTRACT METHODS
$plugin->refresh
Called on every request.
SEE ALSO
PlugAuth, PlugAuth::Guide::Plugin, Test::PlugAuth::Plugin::Refresh
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.