idea-toolbox
    Preparing search index...

    Class CognitoUser

    A user stored in a Cognito User Pool.

    Index

    Constructors

    Properties

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

    The user's (custom) attributes.

    disabled: boolean

    Whether the user has been disabled.

    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

    • Whether the user is part of the administrators group.

      Returns boolean

    • Check whether the user's attributes are valid.

      Returns string[]