deleteAccount method

Future<void> deleteAccount(
  1. String clientAuthFactor,
  2. IdentityProvider identityProvider,
  3. String? authId
)

This function deletes an account using client authentication factor, identity provider, and optional authentication ID.

Args: clientAuthFactor (String): It is a string parameter that represents the authentication factor of the client. identityProvider (IdentityProvider): The identityProvider parameter is an object of type IdentityProvider which represents the identity provider used for authentication. authId (String): The authId parameter is an optional string that represents the unique identifier of the authenticated user whose account is to be deleted.

Implementation

Future<void> deleteAccount(String clientAuthFactor,
    IdentityProvider identityProvider, String? authId) async {
  return _methods.deleteAccount(clientAuthFactor, identityProvider, authId);
}