Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
Enabled?: boolean | null
[src]

Specifies whether the user is enabled.

§
MFAOptions?: MFAOptionType[] | null
[src]

The MFA options for the user.

§
UserCreateDate?: Date | number | null
[src]

The creation date of the user.

§
UserLastModifiedDate?: Date | number | null
[src]

The last modified date of the user.

§
Username?: string | null
[src]

The user name of the user you want to describe.

§
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.