getAttributeVerificationCode method

Future getAttributeVerificationCode(
  1. String attributeName
)

This is used to initiate an attribute confirmation request

Implementation

Future getAttributeVerificationCode(String attributeName) async {
  _signInUserSessionCheck();

  final paramsReq = {
    'AttributeName': attributeName,
    'AccessToken': _signInUserSession!.getAccessToken().getJwtToken(),
  };

  return await client!.request('GetUserAttributeVerificationCode', paramsReq);
}