The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

package WebService::Auth0::Management::Users;

use Moo;
extends 'WebService::Auth0::Management::Base';
with 'WebService::Auth0::Management::Role::All',
  'WebService::Auth0::Management::Role::Search',
  'WebService::Auth0::Management::Role::Create',
  'WebService::Auth0::Management::Role::Get',
  'WebService::Auth0::Management::Role::Update',
  'WebService::Auth0::Management::Role::Delete'; # Optional helpers

sub path_suffix { 'users' } # You need to override this

# Other custom methods for the endpoint.

1;

DESCRIPTION

A Base class for managment API endpoints

METHODS

This class defines the following methods:

request

GET

POST

POST_JSON

DELETE

PATCH

PATCH_JSON

uri_for

path_suffix

ATTRIBUTES

This class defines the following attributes:

domain

token

ua

mgmt_path_parts

SEE ALSO

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

AUTHOR

  See L<WebService::Auth0>

COPYRIGHT & LICENSE

See L<WebService::Auth0>