NAME

WebService::Auth0::Authentication::Login - Authentication API

SYNOPSIS

my $ua = WebService::Auth0::UA->create;
my $auth = WebService::Auth0::Authentication->new(
  ua => $ua,
  domain => $ENV{AUTH0_DOMAIN},
  client_id => $ENV{AUTH0_CLIENT_ID} );

DESCRIPTION

Auth0 Authentication Login Module

METHODS

This class defines the following methods. Unless otherwise noted all methods below will add in the client_id and/or client_secret as needed.

authorize

GET $DOMAIN/authorize

https://auth0.com/docs/api/authentication#social, https://auth0.com/docs/api/authentication#database-ad-ldap-passive-, https://auth0.com/docs/api/authentication#enterprise-saml-and-others-, https://auth0.com/docs/api/authentication?http#authorization-code-grant.

oauth_access_token

POST $DOMAIN/oauth/access_token

https://auth0.com/docs/api/authentication#social-with-provider-s-access-token

oauth_ro

POST $DOMAIN/oauth/ro

https://auth0.com/docs/api/authentication#database-ad-ldap-active- https://auth0.com/docs/api/authentication?http#resource-owner https://auth0.com/docs/api/authentication#authenticate-user

logout

GET $DOMAIN/v2/logout

https://auth0.com/docs/api/authentication#logout

signup

POST $DOMAIN/dbconnections/signup

https://auth0.com/docs/api/authentication#signup

change_db_password

POST $DOMAIN/dbconnections/change_password

https://auth0.com/docs/api/authentication?http#change-password

impersonation

POST $DOMAIN/users/:user_id/impersonate

https://auth0.com/docs/api/authentication#impersonation

impersonate

POST $DOMAIN/users/:user_id/impersonate

https://auth0.com/docs/api/authentication#delegation

get_token

POST $DOMAIN/oauth/token

https://auth0.com/docs/api/authentication?http#get-token

ws_fed_accept_request

GET $DOMAIN/wsfed/:client_id/

https://auth0.com/docs/api/authentication#accept-request22

ws_fed_metadata

GET $DOMAIN/wsfed/:client_id/FederationMetadata/2007-06/FederationMetadata.xml

https://auth0.com/docs/api/authentication#get-metadata23

saml_accept_request

GET $DOMAIN/samlp/:client_id

https://auth0.com/docs/api/authentication#accept-request

saml_metadata

GET $DOMAIN/samlp/metadata/:client_id

https://auth0.com/docs/api/authentication#get-metadata

initiated_sso_flow

POST $DOMAIN/login/callback

https://auth0.com/docs/api/authentication#idp-initiated-sso-flow

passwordless_start

POST $DOMAIN/passwordless/start

https://auth0.com/docs/api/authentication#get-code-or-link

userinfo

GET $DOMAIN/userinfo

https://auth0.com/docs/api/authentication#get-user-info

tokeninfo

POST $DOMAIN/tokeninfo

https://auth0.com/docs/api/authentication#get-token-info

SEE ALSO

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

AUTHOR

  See L<WebService::Auth0>

COPYRIGHT & LICENSE

See L<WebService::Auth0>