public class TOTPRegistration
extends LocalMechanism
Modifier and Type | Method and Description |
---|---|
boolean |
isEnrolled()
Get the enrolled status of this mechanism.
|
JSONObject |
toJson()
Get a JSON formatted representation of this TOTPRegistration.
|
public JSONObject toJson()
{ "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:totp", "isEnrolled" : true }
public boolean isEnrolled()