Catalyst-Plugin-OpenIDConnect
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/OpenIDConnect.pm view on Meta::CPAN
unless ref $value && $value->DOES('Catalyst::Plugin::OpenIDConnect::Role::Store');
$_oidc_store_by_class{$class} = $value;
}
return $_oidc_store_by_class{$class};
}
=head1 METHODS
=head2 setup
Catalyst setup hook - initialize the plugin. Note that this hook can effectively be blocked
in the consuming app by a similar setup method checking for configuration and deleting
$config->{issuer} if not properly configured. This allows the consuming app to control whether
the plugin initializes or not, which is useful for example in FastCGI deployments where multiple
apps share the same codebase but only some are OIDC providers.
=cut
after 'setup' => sub {
my ($app) = @_;
( run in 1.938 second using v1.01-cache-2.11-cpan-bbe5e583499 )