SDK reference / Models / UserPools
UserPool
Kind: class
Namespace: Egulu.Sdk.Models.UserPools
A 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.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AccentColor | string? | accentColor | The accent colour of the hosted pages, `#rrggbb`. The pages use the nearest of a fixed palette; `accentColorUsed` says which. |
AccentColorUsed | string? | accentColorUsed | The palette colour the hosted pages use for `accentColor`. |
AccessTokenSeconds | int? | accessTokenSeconds | Access token lifetime in seconds, 300 to 3600. Default 600. |
AllowedEmailDomains | List<string>? | allowedEmailDomains | When not empty, only addresses at these domains (lower-case, at most 20) may sign up or be created. |
AllowedOrigins | List<string>? | allowedOrigins | The origins a passkey ceremony of this pool may run from. |
AttributeSchema | List<Models.UserPools.PoolAttribute>? | attributeSchema | The custom attributes the pool keeps for its users (at most 20). A value is a string (at most 256 bytes), a number or a boolean; all of one user's values are at most 4 KiB. |
ClientCount | int? | clientCount | How many clients and users the pool holds now. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DisplayName | string? | displayName | Up to 128 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
IdTokenSeconds | int? | idTokenSeconds | ID token lifetime in seconds, 300 to 3600. Default 600. |
IdentityProvider | Models.UserPools.PoolIdentityProvider? | identityProvider | The pool's outside OpenID provider, when it has one. Set with `setIdentityProvider`. |
Issuer | string? | issuer | The pool's OIDC issuer, `https://auth.egulu.app/{uid}`. Discovery is at `{issuer}/.well-known/openid-configuration`, the keys at `{issuer}/jwks`. |
Keys | Models.UserPools.PoolKeyState? | keys | The versions of the signing key and when the newest was added. |
LogoUrl | string? | logoUrl | The logo shown on the hosted pages: an https URL of at most 2048 characters. The only branding besides the accent colour. |
MfaPolicy | Models.UserPools.UserPool_mfaPolicy? | mfaPolicy | The 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. |
Name | string? | name | projects/{project}/userPools/{userPool}. |
PasskeyRequirement | Models.UserPools.UserPool_passkeyRequirement? | passkeyRequirement | REQUIRED: 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. |
RelyingPartyId | string? | relyingPartyId | The relying-party ID of the pool's passkeys. |
RequestsPerMinute | int? | requestsPerMinute | Requests per minute the pool's public endpoints accept, 1 to 10000. Default 60. |
SessionHours | int? | sessionHours | The hosted page's own session in hours, 1 to 24. Default 8. |
SignInMethods | List<Models.UserPools.UserPool_signInMethods?>? | signInMethods | How end users may sign in (at least one). Default: both. |
SignUp | Models.UserPools.UserPool_signUp? | signUp | Who may create an account on the hosted page: OPEN, INVITE_ONLY (an admin creates the user; the default) or CLOSED. |
Uid | string? | uid | UUIDv7, never reused. It is the last path segment of the issuer. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
UserCount | int? | userCount | The userCount property |