resendUserAttributeConfirmationCode method
Future<ResendUserAttributeConfirmationCodeResult>
resendUserAttributeConfirmationCode({
- required UserAttributeKey userAttributeKey,
- ResendUserAttributeConfirmationCodeOptions? options,
Resends a confirmation code for the given attribute and returns a ResendUserAttributeConfirmationCodeResult
Accepts plugin-specific, advanced options
for the request
Implementation
Future<ResendUserAttributeConfirmationCodeResult>
resendUserAttributeConfirmationCode({
required UserAttributeKey userAttributeKey,
ResendUserAttributeConfirmationCodeOptions? options,
}) {
var request = ResendUserAttributeConfirmationCodeRequest(
userAttributeKey: userAttributeKey,
options: options,
);
return plugins.length == 1
? plugins[0].resendUserAttributeConfirmationCode(request: request)
: throw _pluginNotAddedException('Auth');
}