public class AdminInitiateAuthResult extends Object implements Serializable
Initiates the authentication response, as an administrator.
| Constructor and Description |
|---|
AdminInitiateAuthResult() |
| Modifier and Type | Method and Description |
|---|---|
AdminInitiateAuthResult |
addChallengeParametersEntry(String key,
String value)
The challenge parameters.
|
AdminInitiateAuthResult |
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.
|
AdminInitiateAuthResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result type of the authentication result.
|
AdminInitiateAuthResult |
withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
AdminInitiateAuthResult |
withChallengeName(String challengeName)
The name of the challenge.
|
AdminInitiateAuthResult |
withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
AdminInitiateAuthResult |
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 AdminInitiateAuthResult 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 AdminInitiateAuthResult 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 AdminInitiateAuthResult 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 AdminInitiateAuthResult 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 AdminInitiateAuthResult 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 AdminInitiateAuthResult 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 AdminInitiateAuthResult 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.