idea-aws
    Preparing search index...

    Interface CognitoUserGeneric

    The attributes of a generic Cognito user of which we don't know the custom attributes.

    interface CognitoUserGeneric {
        createdAt?: string;
        disabled: boolean;
        email: string;
        federatedUsername?: string;
        status?: UserStatusType;
        updatedAt?: string;
        userId: string;
        [attribute: string]: string | number | boolean;
    }

    Indexable

    • [attribute: string]: string | number | boolean

      Cognito can have custom attributes.

    Index
    createdAt?: string

    When the account was created (ISO date-time). Not available when the user comes from the authorizer claims.

    disabled: boolean

    Whether the user has been disabled.

    email: string

    The email: what a local account signs in with, and the name the methods find it by. A federated account has the one its provider sent, if any, but isn't found by it.

    federatedUsername?: string

    Only for a federated account: the only name it answers to, <provider>_<id>. Not available when the user comes from the authorizer claims.

    status?: UserStatusType

    The status of the account: e.g. FORCE_CHANGE_PASSWORD until the first sign-in replaces the temporary password. Not available when the user comes from the authorizer claims.

    updatedAt?: string

    When the account last changed, e.g. its temporary password sent again (ISO date-time). Not available when the user comes from the authorizer claims.

    userId: string

    The user id (sub).