public class AdminRespondToAuthChallengeResult extends Object implements Serializable
Responds to the authentication challenge, as an administrator.
| Constructor and Description |
|---|
AdminRespondToAuthChallengeResult() |
| Modifier and Type | Method and Description |
|---|---|
AdminRespondToAuthChallengeResult |
addChallengeParametersEntry(String key,
String value)
The challenge parameters.
|
AdminRespondToAuthChallengeResult |
clearChallengeParametersEntries()
Removes all the entries added into ChallengeParameters.
|
boolean |
equals(Object obj) |
AuthenticationResultType |
getAuthenticationResult()
The result type of the authentication result.
|
String |
getChallengeName()
The name of the challenge.
|
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 name of the challenge.
|
void |
setChallengeName(String challengeName)
The name of the challenge.
|
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.
|
AdminRespondToAuthChallengeResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result type of the authentication result.
|
AdminRespondToAuthChallengeResult |
withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeName(String challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
AdminRespondToAuthChallengeResult |
withSession(String session)
The session.
|
public String getChallengeName()
The name of the challenge.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
The name of the challenge.
ChallengeNameTypepublic void setChallengeName(String challengeName)
The name of the challenge.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge.
ChallengeNameTypepublic AdminRespondToAuthChallengeResult withChallengeName(String challengeName)
The name of the challenge.
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 name of the challenge.
ChallengeNameTypepublic void setChallengeName(ChallengeNameType challengeName)
The name of the challenge.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge.
ChallengeNameTypepublic AdminRespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
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 name of the challenge.
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 AdminRespondToAuthChallengeResult 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 AdminRespondToAuthChallengeResult 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 AdminRespondToAuthChallengeResult 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 AdminRespondToAuthChallengeResult 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 AdminRespondToAuthChallengeResult 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.