Package com.auth0.json.mgmt.guardian
Class Enrollment
java.lang.Object
com.auth0.json.mgmt.guardian.Enrollment
Class that represents an Auth0 Guardian Enrollment object. Related to the
GuardianEntity
entity.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the authentication method.Getter for the enrolled at.getId()
Getter for the enrollment IDGetter for the device identifier.Getter for the last authentication.getName()
Getter for the enrollment name.Getter for the phone number.Getter for the enrollment status.getType()
Getter for the enrollment type.
-
Constructor Details
-
Enrollment
public Enrollment()
-
-
Method Details
-
getId
Getter for the enrollment ID- Returns:
- the id.
-
getStatus
Getter for the enrollment status. Either 'pending' or 'confirmed'.- Returns:
- the status.
-
getType
Getter for the enrollment type.- Returns:
- the type.
-
getName
Getter for the enrollment name. This is usually the phone name. Only for 'guardian' enrollments.- Returns:
- the name.
-
getIdentifier
Getter for the device identifier. This is usually a unique phone identifier. Only for 'guardian' enrollments.- Returns:
- the identifier.
-
getPhoneNumber
Getter for the phone number. Only for 'sms' enrollments.- Returns:
- the phone number.
-
getAuthMethod
Getter for the authentication method.- Returns:
- the authentication method.
-
getEnrolledAt
Getter for the enrolled at.- Returns:
- the enrolled at.
-
getLastAuth
Getter for the last authentication.- Returns:
- the last authentication.
-