challengeParameters property
The challenge parameters. These are returned to you in the
AdminInitiateAuth
response if you need to pass another
challenge. The responses in this parameter should be used to compute inputs
to the next call (AdminRespondToAuthChallenge
).
All challenges require USERNAME
and SECRET_HASH
(if applicable).
The value of the USER_ID_FOR_SRP
attribute will be the user's
actual username, not an alias (such as email address or phone number), even
if you specified an alias in your call to AdminInitiateAuth
.
This is because, in the AdminRespondToAuthChallenge
API
ChallengeResponses
, the USERNAME
attribute cannot
be an alias.
Implementation
final Map<String, String>? challengeParameters;