public class MMFARegistration
extends LocalMechanism
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthenticatorId()
Getter for the Authenticator ID of this MMFA registration.
|
java.lang.String |
getDeviceName()
Getter for the device name of the device associated with this MMFA registration.
|
java.lang.String |
getDeviceType()
Getter for the device type of the device associated with this MMFA registration.
|
java.lang.String |
getOSVersion()
Getter for the OS version of the device associated with this MMFA registration.
|
boolean |
hasFingerprintEnrolled()
Getter for the enrollment status of the MMFA Fingerprint method.
|
boolean |
hasUserPresenceEnrolled()
Getter for the enrollment status of the MMFA User Presence method.
|
boolean |
isEnabled()
Getter for the enabled/disabled status of this MMFA registration.
|
boolean |
isPreferred()
Getter for the preferred status of this MMFA registration.
|
JSONObject |
toJson()
Get a JSON formatted representation of this MMFARegistration.
|
public java.lang.String getAuthenticatorId()
public boolean isEnabled()
public boolean isPreferred()
public java.lang.String getDeviceName()
public java.lang.String getDeviceType()
public java.lang.String getOSVersion()
public boolean hasUserPresenceEnrolled()
public boolean hasFingerprintEnrolled()
public JSONObject toJson()
{ "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:mmfa", "authenticatorId": "1252b95e-0050-4c3c-8540-45eba210787d", "enabled": true, "preferred": true, "deviceName": "Example Device", "deviceType": "iPhone", "osVersion": "12.0", "userPresenceEnrolled": true, "fingerprintEnrolled": true }