Class CognitoUser

A user stored in a Cognito User Pool.

Hierarchy

  • CognitoUser

Constructors

Properties

attributes: {
    [attribute: string]: string | number;
}

The user's (custom) attributes.

Type declaration

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

The email address of the user.

groups: string[]

The list of groups containing the user.

name: string

The fullname of the user.

picture: string

The URI to the user's picture.

userId: string

The id of the user.

Methods

  • Parameters

    • groupsClaim: string | string[]

    Returns string[]

Generated using TypeDoc