NAME
WebService::Auth0 - Access the Auth0 API
SYNOPSIS
use WebService::Auth0;
my $auth0 = WebService::Auth0->new(
domain => 'my-domain',
client_id => 'my-client_id',
client_secret => 'my-client_secrete');
$auth0->...
DESCRIPTION
NOTE WARNING! This is an early release with hardly any tests. If you use this you should be willing / able to help me hack on it as needed. I currently reserve the right to make breaking changes as needed.
Prototype for a web service client for https://auth0.com. This is probably going to change a lot as I learn how it actually works. I wrote this primarily as I was doing Catalyst::Authentication::Credential::Auth0 since it seemed silly to stick web service client stuff directly into the Catalyst authorization credential class.
ATTRIBUTES
This class defines the following attributes
domain
client_id
client_secret
Credentials supplied to you from https://auth0.com.
ua_handler_class
Defaults to WebService::Auth0::UA::LWP, a blocking user agent based on LWP.
ua_handler_options
An arrayref of options tht you pass to your "ua_handler_class".
METHODS
This class defines the following methods:
auth
Factory class that returns an instance of WebService::Auth0::Authentication using the current settings.
management
Factory class that returns an instance of WebService::Auth0::Management using the current settings.
SEE ALSO
AUTHOR
John Napiorkowski L<email:jjnapiork@cpan.org>
COPYRIGHT & LICENSE
Copyright 2017, John Napiorkowski email:jjnapiork@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.