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 returned by the server in response to the authentication
request.
|
String |
getChallengeName()
The name of the challenge.
|
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 authentication
request.
|
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 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.
|
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(String challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
AdminRespondToAuthChallengeResult |
withSession(String session)
The session which should be passed both ways in challenge-response calls
to the service.
|
public String getChallengeName()
The name of the challenge. 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 name of the challenge. For more information, see .
ChallengeNameType
public void setChallengeName(String challengeName)
The name of the challenge. 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 name of the challenge. For more information, see .
ChallengeNameType
public AdminRespondToAuthChallengeResult withChallengeName(String challengeName)
The name of the challenge. 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 name of the challenge. For more information, see .
ChallengeNameType
public void setChallengeName(ChallengeNameType challengeName)
The name of the challenge. 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 name of the challenge. For more information, see .
ChallengeNameType
public AdminRespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The name of the challenge. 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 name of the challenge. For more information, see .
ChallengeNameType
public 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 AdminRespondToAuthChallengeResult 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 AdminRespondToAuthChallengeResult 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 AdminRespondToAuthChallengeResult 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 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.