cognitex v0.1.0 Services.CognitoWrapper

Implementation for handling AWS Cognito API behaviour.

Link to this section Summary

Functions

Gets the specified user by user name in a user pool as an administrator. Works on any user. Requires developer credentials

Initiates the authentication flow, as an administrator. Requires developer credentials

Changes the password for a specified user in a user pool

Allows a user to enter a confirmation code to reset a forgotten password

Confirms registration of a user

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user’s password

Gets the user attributes and metadata for a user

Registers the user in the specified user pool and creates a user name, password, and user attributes

Allows a user to update a specific attribute (one at a time)

Link to this section Functions

Link to this function admin_get_user(input \\ %{})

Gets the specified user by user name in a user pool as an administrator. Works on any user. Requires developer credentials.

Link to this function admin_initiate_auth(input \\ %{})

Initiates the authentication flow, as an administrator. Requires developer credentials.

Link to this function change_password(input \\ %{})

Changes the password for a specified user in a user pool.

Link to this function confirm_forgot_password(input \\ %{})

Allows a user to enter a confirmation code to reset a forgotten password.

Link to this function confirm_sign_up(input \\ %{})

Confirms registration of a user.

Link to this function forgot_password(input \\ %{})

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user’s password.

Link to this function get_user(input \\ %{})

Gets the user attributes and metadata for a user.

Link to this function sign_up(input \\ %{})

Registers the user in the specified user pool and creates a user name, password, and user attributes.

Link to this function update_user_attributes(input \\ %{})

Allows a user to update a specific attribute (one at a time).