public final class HotpEnrollment extends java.lang.Object implements IEnrollment
Constructor and Description |
---|
HotpEnrollment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentifier()
Returns the identifier of the enrollment.
|
java.lang.String |
getMethod()
Returns the type of HTTP method required for enrollment.
|
java.lang.String |
getName()
Returns the name of the enrollment.
|
java.lang.String |
getType()
Returns the type of the enrollment challenge.
|
boolean |
isEnabled()
Returns whether the enrollment is enabled.
|
org.json.JSONObject |
serializeToJson()
Returns a JSON string of the serialized
HotpEnrollment object. |
void |
setEnabled(boolean enabled)
Set the flag to indicate whether the enrollment is enabled.
|
public boolean isEnabled()
false
.isEnabled
in interface IEnrollment
public void setEnabled(boolean enabled)
setEnabled
in interface IEnrollment
enabled
- the flag to indicate whether the enrollment is enabledpublic java.lang.String getType()
getType
in interface IEnrollment
public java.lang.String getName()
getName
in interface IEnrollment
public java.lang.String getMethod()
GET
or
POST
.getMethod
in interface IEnrollment
public java.lang.String getIdentifier()
getIdentifier
in interface IEnrollment
public org.json.JSONObject serializeToJson()
HotpEnrollment
object.serializeToJson
in interface IEnrollment