Using Database Connections with Auth0.Swift

The Authentication API provides methods to authenticate and sign up database users.

Signing up with a database connection

Signing up requires calling the createUser method, passing the user's given email, password, and the connection name to initiate the signup process. You can also specify additional user metadata to store.

Login with a database connection

Logging in with a database connection requires calling login with the user's username/email, password, and the name of the connection (such as Username-Password-Authentication) you wish to authenticate with. The response will be a Credentials object.