AuthUpdateAttributeStep
public enum AuthUpdateAttributeStep
extension AuthUpdateAttributeStep: Sendable
Step for Auth.updateUserAttribute api call
-
Next step is to confirm the attribute with confirmation code.
Invoke Auth.confirm(userAttribute: …) to confirm the attribute that was updated.
AuthCodeDeliveryDetailsprovides the details to which the confirmation code was send andAdditionalInfowill provide more details if present.Declaration
Swift
case confirmAttributeWithCode(AuthCodeDeliveryDetails, AdditionalInfo?) -
Update Attribute step is
donewhen the update attribute flow is complete.Declaration
Swift
case done
View on GitHub