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 type of the authentication result.
|
String |
getChallengeName()
The challenge name.
|
Map<String,String> |
getChallengeParameters()
The challenge parameters.
|
String |
getSession()
The session.
|
int |
hashCode() |
void |
setAuthenticationResult(AuthenticationResultType authenticationResult)
The result type of the authentication result.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RespondToAuthChallengeResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result type of the authentication result.
|
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.
|
public String getChallengeName()
The challenge name.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
The challenge name.
ChallengeNameTypepublic void setChallengeName(String challengeName)
The challenge name.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The challenge name.
ChallengeNameTypepublic RespondToAuthChallengeResult withChallengeName(String challengeName)
The challenge name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The challenge name.
ChallengeNameTypepublic void setChallengeName(ChallengeNameType challengeName)
The challenge name.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The challenge name.
ChallengeNameTypepublic RespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The challenge name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The challenge name.
ChallengeNameTypepublic String getSession()
The session.
Constraints:
Length: 20 - 2048
The session.
public void setSession(String session)
The session.
Constraints:
Length: 20 - 2048
session - The session.
public RespondToAuthChallengeResult withSession(String session)
The session.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
session - The session.
public Map<String,String> getChallengeParameters()
The challenge parameters.
The challenge parameters.
public void setChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
challengeParameters - The challenge parameters.
public RespondToAuthChallengeResult withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
Returns a reference to this object so that method calls can be chained together.
challengeParameters - The challenge parameters.
public RespondToAuthChallengeResult addChallengeParametersEntry(String key, String value)
The challenge parameters.
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 type of the authentication result.
The result type of the authentication result.
public void setAuthenticationResult(AuthenticationResultType authenticationResult)
The result type of the authentication result.
authenticationResult - The result type of the authentication result.
public RespondToAuthChallengeResult withAuthenticationResult(AuthenticationResultType authenticationResult)
The result type of the authentication result.
Returns a reference to this object so that method calls can be chained together.
authenticationResult - The result type of the authentication result.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.