UserType
import type { UserType } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";
A user profile in a Amazon Cognito user pool.
interface UserType {
Attributes?: AttributeType[] | null;
Enabled?: boolean | null;
MFAOptions?: MFAOptionType[] | null;
UserCreateDate?: Date | number | null;
UserLastModifiedDate?: Date | number | null;
Username?: string | null;
UserStatus?: UserStatusType | null;
}§Properties
§
Attributes?: AttributeType[] | null
[src]A container with information about the user type attributes.
§
MFAOptions?: MFAOptionType[] | null
[src]The MFA options for the user.
§
UserStatus?: UserStatusType | null
[src]The user status. This can be one of the following:
- UNCONFIRMED - User has been created but not confirmed.
- CONFIRMED - User has been confirmed.
- EXTERNAL_PROVIDER - User signed in with a third-party IdP.
- ARCHIVED - User is no longer active.
- UNKNOWN - User status isn't known.
- RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
- FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.