File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
packages/amplify_core/lib/src/types/auth/attribute Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ class CognitoUserAttributeKey extends UserAttributeKey {
102102 /// Read-only: `false`
103103 static const givenName = CognitoUserAttributeKey ._('given_name' );
104104
105+ /// Federated identities of the user.
106+ ///
107+ /// Read-only: `true`
108+ static const identities =
109+ CognitoUserAttributeKey ._('identities' , readOnly: true );
110+
105111 /// The user's locale, represented as a BCP47 language tag, e.g. `en-US` .
106112 ///
107113 /// Read-only: `false`
@@ -155,6 +161,11 @@ class CognitoUserAttributeKey extends UserAttributeKey {
155161 /// Read-only: `false`
156162 static const profile = CognitoUserAttributeKey ._('profile' );
157163
164+ /// The user ID.
165+ ///
166+ /// Read-only: `true`
167+ static const sub = CognitoUserAttributeKey ._('sub' , readOnly: true );
168+
158169 /// The time the user's information was last updated.
159170 ///
160171 /// Read-only: `false`
@@ -179,6 +190,7 @@ class CognitoUserAttributeKey extends UserAttributeKey {
179190 familyName,
180191 gender,
181192 givenName,
193+ identities,
182194 locale,
183195 middleName,
184196 name,
@@ -188,6 +200,7 @@ class CognitoUserAttributeKey extends UserAttributeKey {
188200 picture,
189201 preferredUsername,
190202 profile,
203+ sub,
191204 updatedAt,
192205 website,
193206 zoneinfo
You can’t perform that action at this time.
0 commit comments