public class AssociateSoftwareTokenResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
AssociateSoftwareTokenResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSecretCode()
A unique generated shared secret code that is used in the TOTP algorithm
to generate a one-time code.
|
java.lang.String |
getSession()
The session that should be passed both ways in challenge-response calls
to the service.
|
int |
hashCode() |
void |
setSecretCode(java.lang.String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm
to generate a one-time code.
|
void |
setSession(java.lang.String session)
The session that should be passed both ways in challenge-response calls
to the service.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateSoftwareTokenResult |
withSecretCode(java.lang.String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm
to generate a one-time code.
|
AssociateSoftwareTokenResult |
withSession(java.lang.String session)
The session that should be passed both ways in challenge-response calls
to the service.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getSession()
The session that 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 that 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(java.lang.String session)
The session that 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 that 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(java.lang.String session)
The session that 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 that 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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object