public class RespondToAuthChallengeResult extends Object implements Serializable
The response to respond to the authentication challenge.
| Constructor and Description |
|---|
RespondToAuthChallengeResult() |
| Modifier and Type | Method and Description |
|---|---|
RespondToAuthChallengeResult |
addChallengeParametersEntry(String key,
String value)
The challenge parameters.
|
RespondToAuthChallengeResult |
clearChallengeParametersEntries()
Removes all the entries added into ChallengeParameters.
|
boolean |
equals(Object obj) |
AuthenticationResultType |
getAuthenticationResult()
The result returned by the server in response to the request to respond
to the authentication challenge.
|
String |
getChallengeName()
The challenge name.
|
Map<String,String> |
getChallengeParameters()
The challenge parameters.
|
String |
getSession()
The session which 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 request to respond
to the authentication challenge.
|
void |
setChallengeName(ChallengeNameType challengeName)
The challenge name.
|
void |
setChallengeName(String challengeName)
The challenge name.
|
void |
setChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
void |
setSession(String session)
The session which should be passed both ways in challenge-response calls
to the service.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RespondToAuthChallengeResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond
to the authentication challenge.
|
RespondToAuthChallengeResult |
withChallengeName(ChallengeNameType challengeName)
The challenge name.
|
RespondToAuthChallengeResult |
withChallengeName(String challengeName)
The challenge name.
|
RespondToAuthChallengeResult |
withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
RespondToAuthChallengeResult |
withSession(String session)
The session which should be passed both ways in challenge-response calls
to the service.
|
public String getChallengeName()
The challenge name. For more information, see .
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 challenge name. For more information, see .
ChallengeNameTypepublic void setChallengeName(String challengeName)
The challenge name. For more information, see .
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 challenge name. For more information, see .
ChallengeNameTypepublic RespondToAuthChallengeResult withChallengeName(String challengeName)
The challenge name. For more information, see .
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 challenge name. For more information, see .
ChallengeNameTypepublic void setChallengeName(ChallengeNameType challengeName)
The challenge name. For more information, see .
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 challenge name. For more information, see .
ChallengeNameTypepublic RespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The challenge name. For more information, see .
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 challenge name. For more information, see .
ChallengeNameTypepublic String getSession()
The session which should be passed both ways in challenge-response calls
to the service. If the or 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.
Constraints:
Length: 20 - 2048
The session which should be passed both ways in
challenge-response calls to the service. If the or 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 void setSession(String session)
The session which should be passed both ways in challenge-response calls
to the service. If the or 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.
Constraints:
Length: 20 - 2048
session -
The session which should be passed both ways in
challenge-response calls to the service. If the or 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 RespondToAuthChallengeResult withSession(String session)
The session which should be passed both ways in challenge-response calls
to the service. If the or 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
session -
The session which should be passed both ways in
challenge-response calls to the service. If the or 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 Map<String,String> getChallengeParameters()
The challenge parameters. For more information, see .
The challenge parameters. For more information, see .
public void setChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see .
challengeParameters - The challenge parameters. For more information, see .
public RespondToAuthChallengeResult withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see .
Returns a reference to this object so that method calls can be chained together.
challengeParameters - The challenge parameters. For more information, see .
public RespondToAuthChallengeResult addChallengeParametersEntry(String key, String value)
The challenge parameters. For more information, see .
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 RespondToAuthChallengeResult 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 request to respond to the authentication challenge.
The result returned by the server in response to the request to respond to the authentication challenge.
public void setAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
authenticationResult - The result returned by the server in response to the request to respond to the authentication challenge.
public RespondToAuthChallengeResult withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
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 request to respond to the authentication challenge.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.