Skip to content

3.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Aug 16:05
894cdf3

Early Availability

⚠️ BREAKING CHANGES

Auth0 Class

  • Constructor: The constructor of the Auth0 class is now private. Use Auth0.getInstance(clientId, domain) to get an instance. This method checks if an instance with the given configuration exists; if yes, it returns it, otherwise, it creates a new one.

BaseCredentialsManager Interface

  • New Methods: Added multiple overloads of getCredentials() and awaitCredentials() to the BaseCredentialsManager interface. All implementations of this interface must now override these new methods.

Request Interface

  • await Function: The await function of the Request interface is now abstract. All implementations must implement this method.

Credentials Class

  • Data Class: The Credentials class is now a data class and can no longer be extended. The currentTimeInMillis property has been removed.

SecureCredentialsManager

  • requireAuthentication Method: The requireAuthentication method, used to enable authentication before obtaining credentials, has been removed. Refer to the Enabling Authentication section for the new approach.