verifyCustomerAccount method

  1. @override
Future<VerifyCustomerAccountResult> verifyCustomerAccount({
  1. required String token,
  2. String? password,
})

Verify a customer account with the token from the verification email.

Implementation

@override
Future<VerifyCustomerAccountResult> verifyCustomerAccount({
  required String token,
  String? password,
}) {
  return _authBaseOps.mutate<VerifyCustomerAccountResult>(
    verifyCustomerAccountMutation,
    {'token': token, 'password': password},
    VerifyCustomerAccountResult.fromJson,
    expectedDataType: 'verifyCustomerAccount',
  );
}