Constructs a new instance of the class with the provided UserDatasource.
The datasource to be used by the instance.
None
A boolean flag indicating whether the user is currently authenticating.
Asynchronously confirms password reset and logs in with the new password.
The new password to set.
The verification code for password reset.
The email address associated with the account.
A promise that resolves with the response data or an ErrorResponse object.
Represents a user in the IDM system.