3.0.0-beta.0
Pre-release
Pre-release
Early Availability
Auth0 Class
- Constructor: The constructor of the
Auth0
class is now private. UseAuth0.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()
andawaitCredentials()
to theBaseCredentialsManager
interface. All implementations of this interface must now override these new methods.
Request Interface
- await Function: The
await
function of theRequest
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. ThecurrentTimeInMillis
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.