Protected _cognitoProtected _runtimePrivate lambdaThe identity provider name.
The metadata URL.
The metadata file.
The attribute mapping data as string.
Whether to sign out of the IdP.
Block a user account.
A promise that resolves to the result of the operation.
The user context.
The user item.
Creates new user in cognito
A promise that resolves to the operation result.
The temporary password for the user.
Indicates whether to automatically generate a strong password.
The user context object.
Item to update
Deletes a user from the Cognito User Pool.
A promise that resolves to the operation result.
The user context object.
Private generatePrivate getExtracts the Cognito User Pool ID from the iss property of a user context.
The extracted Cognito User Pool ID or null if not found.
The user context object.
Private invokeThis function invokes the Cognito Proxy Lambda with the specified action and parameters.
Returns a promise that resolves to the result of the operation.
The action to be performed by the Cognito Proxy Lambda.
The parameters to be passed to the Cognito Proxy Lambda.
Remove an identity provider.
A promise that resolves to the result of the operation.
The identity provider name.
Sends a welcome email to a user with the specified parameters.
A promise that resolves to the operation result.
The temporary password for the user.
Indicates whether to automatically generate a strong password.
The user context object.
Username of the use to send welcome email too.
The email of the use to send welcome email too.
Unblock a user account.
A promise that resolves to the result of the operation.
The user context.
The user item.
Update email template message.
A promise that resolves to the result of the operation.
The user context.
The email template subject to use.
The email template message to use.
Updates the email address of a user in the Cognito User Pool.
A promise that resolves to the operation result.
The user context object.
The new email address for the user.
Enable or disable MFA with SMS for a user.
A promise that resolves to the result of the operation.
The user context.
A boolean indicating whether to enable or disable MFA with SMS.
The username for enabling MFA.
Optional phoneNumber: stringThe phoneNumber for enabling MFA.
Private validateStatic Protected formatFormats user attributes for use with Cognito.
An array of formatted user attributes with 'Name' and 'Value'.
The input object containing user attributes.
Generated using TypeDoc
Add an identity provider.
Returns
A promise that resolves to the result of the operation.