Group
Extension

Matches 3

PlugAuth ( P/PL/PLICEASE/PlugAuth-0.39.tar.gz, PLICEASE, 2018; MetaCPAN )
PlugAuth/lib/PlugAuth.pm ( view source; MetaCPAN )
l reasons, some routes return text by default
  # in older versions, even if a format (e.g. /auth.json) is specified.
  # this is a simple helper to render using autodata if a format
  # is explicitly
PlugAuth ( P/PL/PLICEASE/PlugAuth-0.39.tar.gz, PLICEASE, 2018; MetaCPAN )
PlugAuth/lib/PlugAuth/Plugin/Audit.pm ( view source; MetaCPAN )
ET /audit

You can do a simple GET on this route to see if the plugin is loaded.
It will return a JSON string with the version of the plugin as the body
and 200 if the plugin is available, if not L<Pl
PlugAuth ( P/PL/PLICEASE/PlugAuth-0.39.tar.gz, PLICEASE, 2018; MetaCPAN )
PlugAuth/lib/PlugAuth/Routes.pm ( view source; MetaCPAN )
up, $action, $resource) = map { $c->stash($_) } qw( group action1 resource );
  $resource =~ s/\.(json|yml)$//;
  if($c->authz->grant($group, $action, $resource))
  {
    $c->render_message('ok',     
up, $action, $resource) = map { $c->stash($_) } qw( group action1 resource );
  $resource =~ s/\.(json|yml)$//;
  if($c->authz->revoke($group, $action, $resource))
  {
    $c->render_message('ok',    
ead3 POST /user

Create a user.  The C<username> and C<password> are provided autodata arguments
(JSON, YAML, form data, etc).

If supported by your authentication plugin (requires C<create_user_cb> t

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.