SDK reference / Models

Models.UserPools namespace

Types

TypeKindDescription
ExportedUsersclassA page of users as a CSV file.
ImportUsersRequestclassUsers to make from a CSV file. The first line names the columns: `email`, then optionally `displayName` and any custom attribute. The whole file is checked first: one bad line refuses all of it.
ImportUsersResultclassWhat an import did.
PoolAttributeclassOne custom attribute of a pool's users.
PoolAttributeMergePatchUpdateReplaceOnlyclass
PoolAttribute_typeenum
PoolEventclassOne line of a pool's sign-in log. Privacy: it holds no e-mail address, code, token, IP address or browser string, so a refusal for an address that is not a user's looks like any other.Lines are kept 30 days.
PoolEventListclassA page of the sign-in log, newest first.
PoolEvent_kindenum
PoolEvent_resultenum
PoolIdentityProviderclassThe one outside OpenID provider of a pool, which its users may "continue with". The client secret is never read back.
PoolKeyStateclassThe pool's signing key as the JWKS publishes it.
SetPoolIdentityProviderRequestclassWhat a pool's identity provider is set to.
UserPoolclassA user pool: the directory of one application's end users, its sign-in rules and its own issuer and signing keys. The pool's users, clients, keys,codes and sessions are deleted with the pool and with its project.
UserPoolClientclassAn application registered with a pool.
UserPoolClientMergePatchUpdateclassAn application registered with a pool.
UserPoolClientMergePatchUpdate_allowedScopesMember1class
UserPoolClientMergePatchUpdate_displayNameMember1class
UserPoolClientWithSecretclassA client, and for a CONFIDENTIAL one its secret, shown once.
UserPoolClient_clientTypeenumPUBLIC (a browser or mobile app: no secret, PKCE only; the default) or CONFIDENTIAL (a server: a secret, shown once, and PKCE). Fixed at creation.
UserPoolMergePatchUpdateclassA user pool: the directory of one application's end users, its sign-in rules and its own issuer and signing keys. The pool's users, clients, keys,codes and sessions are deleted with the pool and with its project.
UserPoolMergePatchUpdate_accentColorMember1class
UserPoolMergePatchUpdate_accessTokenSecondsMember1class
UserPoolMergePatchUpdate_allowedEmailDomainsMember1class
UserPoolMergePatchUpdate_displayNameMember1class
UserPoolMergePatchUpdate_idTokenSecondsMember1class
UserPoolMergePatchUpdate_logoUrlMember1class
UserPoolMergePatchUpdate_mfaPolicyMember1class
UserPoolMergePatchUpdate_passkeyRequirementMember1class
UserPoolMergePatchUpdate_requestsPerMinuteMember1class
UserPoolMergePatchUpdate_sessionHoursMember1class
UserPoolMergePatchUpdate_signInMethodsMember1class
UserPoolMergePatchUpdate_signInMethodsMember2class
UserPoolMergePatchUpdate_signUpMember1class
UserPoolQuickStartclassA pool's quick-start: what an app needs to sign its users in.
UserPoolSessionclassA user's session on the pool's hosted pages.
UserPoolUserclassAn end user of a pool. Not a platform principal: it holds no role and no key of the platform.
UserPoolUserMergePatchUpdateclassAn end user of a pool. Not a platform principal: it holds no role and no key of the platform.
UserPoolUserMergePatchUpdate_displayNameMember1class
UserPoolUser_attributesclassValues of the pool's custom attributes. A patch sets a name to a value, or to null to remove it.
UserPoolUser_stateenumDISABLED users cannot sign in and their tokens stop working at once at the user-info endpoint.
UserPool_mfaPolicyenumThe pool's second factor (an authenticator app): OFF, OPTIONAL (a user may enrol) or REQUIRED. A passkey sign-in is never asked for a code. Default OFF.
UserPool_passkeyRequirementenumREQUIRED: an e-mail code may only sign up and recover; a user without a passkey is asked to register one at first sign-in. Default OPTIONAL.
UserPool_signInMethodsenum
UserPool_signUpenumWho may create an account on the hosted page: OPEN, INVITE_ONLY (an admin creates the user; the default) or CLOSED.