NAME

WebService::Auth0::Management - Factory class for the Management API

SYNOPSIS

    my $mgmt = WebService::Auth0::Management->new(
      ua => $ua,
      domain => $ENV{AUTH0_DOMAIN},
      token => $ENV{AUTH0_TOKEN},
    );

    my $rules = $mgmt->create('Rules');
    my $future = $rules->get;

DESCRIPTION

Factory class for the various modules that make up the Management API. I'm actually not keen on this approach but it seems like the way that Auth0 did all the SDKs in other languages so I figured its probably best to play to the standard.

You can also create each Management module standalone.

ATTRIBUTES

This class defines the following attributes:

domain

token

ua

mgmt_path_parts

METHODS

This class defines the following methods:

create ($module, \%args)

    my $rules = $mgmt->create('Rules');

Create a module based on the current arguments. You may pass in override arguments as the second argument of this method.

PROXY METHODS

The following methods are proxies to create a sub module

blacklists

client_grants

clients

connections

device_credentials

emails

guardian

jobs

logs

resource_servers

rules

stats

template

tenants

tickets

user_blocks

users

SEE ALSO

WebService::Auth0, https://auth0.com.

AUTHOR

    See L<WebService::Auth0>
  

COPYRIGHT & LICENSE

    See L<WebService::Auth0>