ClientImpl class

Inheritance

Constructors

ClientImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activateAccount(String email) Future<void>
This function activates a user account using their email address.
afterInitialization() → void
inherited
authenticate(ClientAuthContext clientAuthContext, IdentityProvider identityProvider, String tokenString) Future<bool>
This function authenticates a client using an identity provider, clientAuthContext and a token string.
authenticateConditionally(IdentityProvider identityProvider, String tokenString, [ClientCondtitionalAuthContext? clientAuthContext, String? authID]) Future<ClientConditionalAuthResult>
The function authenticateConditionally authenticates a user conditionally based on the provided identity provider, token string, client authentication context, and authentication ID.
beforeInitialization() → void
inherited
changePassword(String oldPassword, String password) Future<void>
This function changes the user's password by calling a private method with the old and new passwords as parameters.
confirmAccount(String token) Future<void>
This function confirms a user's account using a token.
confirmAccountActivationByPin(String email, String pinCode) Future<void>
The function confirmAccountActivationByPin takes an email and a pin code as parameters and confirms the acctivation of an account by a pinCode.
confirmEmailChange(String token, bool newsletterAgreement) Future<void>
The function confirmEmailChange in Dart confirms the change of email with a token and updates the newsletter agreement.
confirmPasswordReset(String token, String password) Future<void>
This function confirms a password reset using a token and a new password.
confirmPhoneUpdate(String phone, String confirmationCode, bool smsAgreement) Future<void>
The function confirmPhoneUpdate takes in a phone number, confirmation code, and SMS agreement, and calls a private method to confirm the phone update.
deleteAccount(String clientAuthFactor, IdentityProvider identityProvider, String? authId) Future<void>
This function deletes an account using client authentication factor, identity provider, and optional authentication ID.
destroySession() Future<void>
This function destroys a session asynchronously.
getAccount() Future<ClientAccountInformation>
This function returns a Future object containing the client account information.
getUUID() Future<String>
This function returns a user's UUID string.
isSignedIn() Future<bool>
This function returns a boolean value indicating whether the user is signed in or not.
isSignedInViaSimpleAuthentication() Future<bool>
The function isSignedInViaSimpleAuthentication checks whether the user is signed in via simple authentication.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshToken() Future<bool>
This function refreshes user token.
regenerateUUID() Future<bool>
This function regenerates a UUID.
regenerateUUIDWithClientIdentifier(String clientIdentifier) Future<bool>
The function regenerates a UUID using a client identifier.
registerAccount(ClientAccountRegisterContext clientAccountRegisterContext) Future<void>
This function registers a client account asynchronously using the provided context.
requestAccountActivationByPin(String email) Future<void>
The function requestAccountActivationByPin sends a request to activate an account using a PIN code.
requestEmailChange(String email, String password, [String? externalToken, String? authID]) Future<void>
The function requestEmailChange sends a request to change the user's email address.
requestPasswordReset(String email) Future<void>
This function requests a password reset for a given email address.
requestPhoneUpdate(String phone) Future<void>
The function requestPhoneUpdate sends a request to update the phone number.
retrieveToken() Future<Token>
This function retrieves a token.
signIn(String email, String password) Future<void>
This function takes an email and password as parameters and signs in the user using those credentials.
signInConditionally(String email, String password) Future<ClientConditionalAuthResult>
signInConditionally returns a 'ClientConditionalAuthResult' that represents the result of a conditional sign-in operation.
signOut() Future<void>
This function signs the user out of the current session.
signOutWithMode(ClientSignOutMode mode, bool fromAllDevices) Future<void>
The function signOutWithMode signs out the client with the specified mode and from all devices if specified.
simpleAuthentication(ClientSimpleAuthenticationData clientSimpleAuthenticationData, String authID) Future<void>
This method signs in a customer with Simple Authentication.
toString() String
A string representation of this object.
inherited
updateAccount(ClientAccountUpdateContext clientAccountUpdateContext) Future<void>
This function updates a client account using the provided context.

Operators

operator ==(Object other) bool
The equality operator.
inherited