public class AdminRespondToAuthChallengeResult
extends java.lang.Object
implements java.io.Serializable
Responds to the authentication challenge, as an administrator.
| Constructor and Description |
|---|
AdminRespondToAuthChallengeResult() |
| Modifier and Type | Method and Description |
|---|---|
AdminRespondToAuthChallengeResult |
addChallengeParametersEntry(java.lang.String key,
java.lang.String value)
The challenge parameters.
|
AdminRespondToAuthChallengeResult |
clearChallengeParametersEntries()
Removes all the entries added into ChallengeParameters.
|
boolean |
equals(java.lang.Object obj) |
AuthenticationResultType |
getAuthenticationResult()
The result returned by the server in response to the authentication
request.
|
java.lang.String |
getChallengeName()
The name of the challenge.
|
java.util.Map<java.lang.String,java.lang.String> |
getChallengeParameters()
The challenge parameters.
|
java.lang.String |
getSession()
The session that should be passed both ways in challenge-response calls
to the service.
|
int |
hashCode() |
void |
setAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication
request.
|
void |
setChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
void |
setChallengeName(java.lang.String challengeName)
The name of the challenge.
|
void |
setChallengeParameters(java.util.Map<java.lang.String,java.lang.String> challengeParameters)
The challenge parameters.
|
void |
setSession(java.lang.String session)
The session that should be passed both ways in challenge-response calls
to the service.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminRespondToAuthChallengeResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication
request.
|
AdminRespondToAuthChallengeResult |
withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeName(java.lang.String challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeParameters(java.util.Map<java.lang.String,java.lang.String> challengeParameters)
The challenge parameters.
|
AdminRespondToAuthChallengeResult |
withSession(java.lang.String session)
The session that should be passed both ways in challenge-response calls
to the service.
|
public java.lang.String getChallengeName()
The name of the challenge. For more information, see AdminInitiateAuth.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
The name of the challenge. For more information, see AdminInitiateAuth.
ChallengeNameTypepublic void setChallengeName(java.lang.String challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge. For more information, see AdminInitiateAuth.
ChallengeNameTypepublic AdminRespondToAuthChallengeResult withChallengeName(java.lang.String challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge. For more information, see AdminInitiateAuth.
ChallengeNameTypepublic void setChallengeName(ChallengeNameType challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge. For more information, see AdminInitiateAuth.
ChallengeNameTypepublic AdminRespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge. For more information, see AdminInitiateAuth.
ChallengeNameTypepublic java.lang.String getSession()
The session that should be passed both ways in challenge-response calls
to the service. If the caller must pass another challenge, they return a
session with other challenge parameters. This session should be passed as
it is to the next RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
The session that should be passed both ways in challenge-response
calls to the service. If the caller must pass 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 void setSession(java.lang.String session)
The session that should be passed both ways in challenge-response calls
to the service. If the caller must pass another challenge, they return a
session with other challenge parameters. This session should be passed as
it is to the next RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
session -
The session that should be passed both ways in
challenge-response calls to the service. If the caller must
pass 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 AdminRespondToAuthChallengeResult withSession(java.lang.String session)
The session that should be passed both ways in challenge-response calls
to the service. If the caller must pass another challenge, they return a
session with other challenge parameters. This session should be passed as
it is to the next RespondToAuthChallenge API call.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
session -
The session that should be passed both ways in
challenge-response calls to the service. If the caller must
pass 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 java.util.Map<java.lang.String,java.lang.String> getChallengeParameters()
The challenge parameters. For more information, see AdminInitiateAuth.
The challenge parameters. For more information, see AdminInitiateAuth.
public void setChallengeParameters(java.util.Map<java.lang.String,java.lang.String> challengeParameters)
The challenge parameters. For more information, see AdminInitiateAuth.
challengeParameters - The challenge parameters. For more information, see AdminInitiateAuth.
public AdminRespondToAuthChallengeResult withChallengeParameters(java.util.Map<java.lang.String,java.lang.String> challengeParameters)
The challenge parameters. For more information, see AdminInitiateAuth.
Returns a reference to this object so that method calls can be chained together.
challengeParameters - The challenge parameters. For more information, see AdminInitiateAuth.
public AdminRespondToAuthChallengeResult addChallengeParametersEntry(java.lang.String key, java.lang.String value)
The challenge parameters. For more information, see AdminInitiateAuth.
The method adds a new key-value pair into ChallengeParameters parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into ChallengeParameters.value - The corresponding value of the entry to be added into
ChallengeParameters.public AdminRespondToAuthChallengeResult clearChallengeParametersEntries()
Returns a reference to this object so that method calls can be chained together.
public AuthenticationResultType getAuthenticationResult()
The result returned by the server in response to the authentication request.
The result returned by the server in response to the authentication request.
public void setAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
authenticationResult - The result returned by the server in response to the authentication request.
public AdminRespondToAuthChallengeResult withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
Returns a reference to this object so that method calls can be chained together.
authenticationResult - The result returned by the server in response to the authentication request.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object