SDK reference / Models / UserPools

UserPoolUser

Kind: class

Namespace: Egulu.Sdk.Models.UserPools

An end user of a pool. Not a platform principal: it holds no role and no key of the platform.

Properties

NameTypeJSON nameDescription
AttributesModels.UserPools.UserPoolUser_attributes?attributesValues of the pool's custom attributes. A patch sets a name to a value, or to null to remove it.
CreateTimeDateTimeOffset?createTimeThe createTime property
DisplayNamestring?displayNameUp to 128 characters.
Emailstring?emailThe user's address, lower case. It is proved by a code before the user ever signs in. Fixed at creation.
Etagstring?etag"{generation}"; send it back in If-Match.
LastSignInTimeDateTimeOffset?lastSignInTimeWhen the user last finished a sign-in; absent until then.
Namestring?nameprojects/{project}/userPools/{userPool}/users/{user}.
PasskeyCountint?passkeyCountHow many passkeys the user holds.
StateModels.UserPools.UserPoolUser_state?stateDISABLED users cannot sign in and their tokens stop working at once at the user-info endpoint.
TotpEnrolledbool?totpEnrolledTrue when the user has an active authenticator app (a second factor).
Uidstring?uidUUIDv7, never reused. It is the `sub` of the user's tokens as `users/{uid}`.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property