Cloneable
, ReadLimitInfo
, ToCopyableBuilder<AdminRespondToAuthChallengeRequest.Builder,AdminRespondToAuthChallengeRequest>
@Generated("software.amazon.awssdk:codegen") public class AdminRespondToAuthChallengeRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<AdminRespondToAuthChallengeRequest.Builder,AdminRespondToAuthChallengeRequest>
The request to respond to the authentication challenge, as an administrator.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AdminRespondToAuthChallengeRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static AdminRespondToAuthChallengeRequest.Builder |
builder() |
|
String |
challengeName() |
The challenge name.
|
Map<String,String> |
challengeResponses() |
The challenge responses.
|
String |
clientId() |
The app client ID.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends AdminRespondToAuthChallengeRequest.Builder> |
serializableBuilderClass() |
|
String |
session() |
The session which should be passed both ways in challenge-response calls to the service.
|
AdminRespondToAuthChallengeRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userPoolId() |
The ID of the Amazon Cognito user pool.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String userPoolId()
The ID of the Amazon Cognito user pool.
public String clientId()
The app client ID.
public String challengeName()
The challenge name. For more information, see AdminInitiateAuth.
ChallengeNameType
public Map<String,String> challengeResponses()
The challenge responses. These are inputs corresponding to the value of ChallengeName
, for example:
SMS_MFA
: SMS_MFA_CODE
, USERNAME
, SECRET_HASH
(if app client
is configured with client secret).
PASSWORD_VERIFIER
: PASSWORD_CLAIM_SIGNATURE
, PASSWORD_CLAIM_SECRET_BLOCK
,
TIMESTAMP
, USERNAME
, SECRET_HASH
(if app client is configured with client
secret).
ADMIN_NO_SRP_AUTH
: PASSWORD
, USERNAME
, SECRET_HASH
(if app
client is configured with client secret).
NEW_PASSWORD_REQUIRED
: NEW_PASSWORD
, any other required attributes,
USERNAME
, SECRET_HASH
(if app client is configured with client secret).
The value of the USERNAME
attribute must be the user's actual username, not an alias (such as email
address or phone number). To make this easier, the AdminInitiateAuth
response includes the actual
username value in the USERNAMEUSER_ID_FOR_SRP
attribute, even if you specified an alias in your call
to AdminInitiateAuth
.
ChallengeName
, for
example:
SMS_MFA
: SMS_MFA_CODE
, USERNAME
, SECRET_HASH
(if app
client is configured with client secret).
PASSWORD_VERIFIER
: PASSWORD_CLAIM_SIGNATURE
,
PASSWORD_CLAIM_SECRET_BLOCK
, TIMESTAMP
, USERNAME
,
SECRET_HASH
(if app client is configured with client secret).
ADMIN_NO_SRP_AUTH
: PASSWORD
, USERNAME
, SECRET_HASH
(if app client is configured with client secret).
NEW_PASSWORD_REQUIRED
: NEW_PASSWORD
, any other required attributes,
USERNAME
, SECRET_HASH
(if app client is configured with client secret).
The value of the USERNAME
attribute must be the user's actual username, not an alias (such
as email address or phone number). To make this easier, the AdminInitiateAuth
response
includes the actual username value in the USERNAMEUSER_ID_FOR_SRP
attribute, even if you
specified an alias in your call to AdminInitiateAuth
.
public String session()
The session which should be passed both ways in challenge-response calls to the service. If
InitiateAuth
or RespondToAuthChallenge
API call determines that the caller needs to go
through another challenge, they return a session with other challenge parameters. This session should be passed
as it is to the next RespondToAuthChallenge
API call.
InitiateAuth
or RespondToAuthChallenge
API call determines that the caller
needs to go through another challenge, they return a session with other challenge parameters. This
session should be passed as it is to the next RespondToAuthChallenge
API call.public AdminRespondToAuthChallengeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AdminRespondToAuthChallengeRequest.Builder,AdminRespondToAuthChallengeRequest>
public static AdminRespondToAuthChallengeRequest.Builder builder()
public static Class<? extends AdminRespondToAuthChallengeRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.