InitiateAuthRequest
Initiates the authentication request.
Types
Properties
Information that supports analytics outcomes with Amazon Pinpoint, including the user's endpoint ID. The endpoint ID is a destination for Amazon Pinpoint push notifications, for example a device identifier, email address, or phone number.
The authentication flow that you want to initiate. Each AuthFlow
has linked AuthParameters
that you must submit. The following are some example flows.
The authentication parameters. These are inputs corresponding to the AuthFlow
that you're invoking.
A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers.
The optional session ID from a ConfirmSignUp
API request. You can sign in a user directly from the sign-up process with the USER_AUTH
authentication flow. When you pass the session ID to InitiateAuth
, Amazon Cognito assumes the SMS or email message one-time verification password from ConfirmSignUp
as the primary authentication factor. You're not required to submit this code a second time. This option is only valid for users who have confirmed their sign-up and are signing in for the first time within the authentication flow session duration of the session ID.
Contextual data about your user session like the device fingerprint, IP address, or location. Amazon Cognito threat protection evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito when it makes API requests.