## Fetch the current user's attributes Invoke the following api to get the list of attributes assigned to the user. import ios0 from "/src/fragments/lib-v1/auth/ios/user_attributes/10_fetch_attributes.mdx"; <Fragments fragments={{ios: ios0}} /> import android1 from "/src/fragments/lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx"; <Fragments fragments={{android: android1}} /> import flutter2 from "/src/fragments/lib-v1/auth/flutter/user_attributes/10_fetch_attributes.mdx"; <Fragments fragments={{flutter: flutter2}} /> ## Update user attribute Invoke the update api for creating new or updating existing user attributes. import ios3 from "/src/fragments/lib-v1/auth/ios/user_attributes/20_update_user_attribute.mdx"; <Fragments fragments={{ios: ios3}} /> import android4 from "/src/fragments/lib-v1/auth/android/user_attributes/20_update_user_attribute.mdx"; <Fragments fragments={{android: android4}} /> import flutter5 from "/src/fragments/lib-v1/auth/flutter/user_attributes/20_update_user_attribute.mdx"; <Fragments fragments={{flutter: flutter5}} /> ## Verify user attribute Some attributes require confirmation for the attribute update to complete. If the attribute need to be confirmed, the result of the above api will be `CONFIRM_ATTRIBUTE_WITH_CODE`. A confirmation code will be sent to the delivery medium mentioned in the delivery details. When the user gets the confirmation code, you can present a UI to the user to enter the code and invoke the confirm attribute api with their input: import ios6 from "/src/fragments/lib-v1/auth/ios/user_attributes/30_confirm_attribute.mdx"; <Fragments fragments={{ios: ios6}} /> import android7 from "/src/fragments/lib-v1/auth/android/user_attributes/30_confirm_attribute.mdx"; <Fragments fragments={{android: android7}} /> import flutter8 from "/src/fragments/lib-v1/auth/flutter/user_attributes/30_confirm_attribute.mdx"; <Fragments fragments={{flutter: flutter8}} /> ## Resend verification code If the code has expired or the user needs to resend the confirmation code, invoke the resend api as shown below: import ios9 from "/src/fragments/lib-v1/auth/ios/user_attributes/40_resend_code.mdx"; <Fragments fragments={{ios: ios9}} /> import android10 from "/src/fragments/lib-v1/auth/android/user_attributes/40_resend_code.mdx"; <Fragments fragments={{android: android10}} /> import flutter11 from "/src/fragments/lib-v1/auth/flutter/user_attributes/40_resend_code.mdx"; <Fragments fragments={{flutter: flutter11}} />