[AWS

The following table summarizes some of the customizations that can be made:

User Pool FlowOperationDescription

Custom Authentication Flow

Define Auth Challenge Determines the next challenge in a custom auth flow
Create Auth Challenge Creates a challenge in a custom auth flow
Verify Auth Challenge Response Determines if a response is correct in a custom auth flow
Authentication Events Pre Authentication Lambda Trigger Custom validation to accept or deny the sign-in request
Post Authentication Lambda Trigger Event logging for custom analytics
Pre Token Generation Lambda Trigger Augment or suppress token claims
Sign-Up Pre Sign-up Lambda Trigger Custom validation to accept or deny the sign-up request
Post Confirmation Lambda Trigger Custom welcome messages or event logging for custom analytics
Migrate User Lambda Trigger Migrate a user from an existing user directory to user pools
Messages Custom Message Lambda Trigger Advanced customization and localization of messages
Token Creation Pre Token Generation Lambda Trigger Add or remove attributes in Id tokens
Email and SMS third-party providers Custom sender Lambda triggers Use a third-party provider to send SMS and email messages

原文地址:https://www.cnblogs.com/Answer1215/p/14850923.html