public class AssociateSoftwareTokenResult extends Object implements Serializable
| Constructor and Description |
|---|
AssociateSoftwareTokenResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSecretCode()
A unique generated shared secret code that is used in the TOTP algorithm
to generate a one time code.
|
String |
getSession()
The session which should be passed both ways in challenge-response calls
to the service.
|
int |
hashCode() |
void |
setSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm
to generate a one time code.
|
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.
|
AssociateSoftwareTokenResult |
withSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm
to generate a one time code.
|
AssociateSoftwareTokenResult |
withSession(String session)
The session which should be passed both ways in challenge-response calls
to the service.
|
public String getSecretCode()
A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
Constraints:
Length: 16 -
Pattern: [A-Za-z0-9]+
A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
public void setSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
Constraints:
Length: 16 -
Pattern: [A-Za-z0-9]+
secretCode - A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
public AssociateSoftwareTokenResult withSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 -
Pattern: [A-Za-z0-9]+
secretCode - A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
public String getSession()
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
Constraints:
Length: 20 - 2048
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
public void setSession(String session)
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
Constraints:
Length: 20 - 2048
session - The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
public AssociateSoftwareTokenResult withSession(String session)
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
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. This allows authentication of the user as part of the MFA setup process.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.