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 {
102
102
/// Read-only: `false`
103
103
static const givenName = CognitoUserAttributeKey ._('given_name' );
104
104
105
+ /// Federated identities of the user.
106
+ ///
107
+ /// Read-only: `true`
108
+ static const identities =
109
+ CognitoUserAttributeKey ._('identities' , readOnly: true );
110
+
105
111
/// The user's locale, represented as a BCP47 language tag, e.g. `en-US` .
106
112
///
107
113
/// Read-only: `false`
@@ -155,6 +161,11 @@ class CognitoUserAttributeKey extends UserAttributeKey {
155
161
/// Read-only: `false`
156
162
static const profile = CognitoUserAttributeKey ._('profile' );
157
163
164
+ /// The user ID.
165
+ ///
166
+ /// Read-only: `true`
167
+ static const sub = CognitoUserAttributeKey ._('sub' , readOnly: true );
168
+
158
169
/// The time the user's information was last updated.
159
170
///
160
171
/// Read-only: `false`
@@ -179,6 +190,7 @@ class CognitoUserAttributeKey extends UserAttributeKey {
179
190
familyName,
180
191
gender,
181
192
givenName,
193
+ identities,
182
194
locale,
183
195
middleName,
184
196
name,
@@ -188,6 +200,7 @@ class CognitoUserAttributeKey extends UserAttributeKey {
188
200
picture,
189
201
preferredUsername,
190
202
profile,
203
+ sub,
191
204
updatedAt,
192
205
website,
193
206
zoneinfo
You can’t perform that action at this time.
0 commit comments