Class Enrollment

java.lang.Object
com.auth0.json.mgmt.guardian.Enrollment

public class Enrollment extends Object
Class that represents an Auth0 Guardian Enrollment object. Related to the GuardianEntity entity.
  • Constructor Details

    • Enrollment

      public Enrollment()
  • Method Details

    • getId

      public String getId()
      Getter for the enrollment ID
      Returns:
      the id.
    • getStatus

      public String getStatus()
      Getter for the enrollment status. Either 'pending' or 'confirmed'.
      Returns:
      the status.
    • getType

      public String getType()
      Getter for the enrollment type.
      Returns:
      the type.
    • getName

      public String getName()
      Getter for the enrollment name. This is usually the phone name. Only for 'guardian' enrollments.
      Returns:
      the name.
    • getIdentifier

      public String getIdentifier()
      Getter for the device identifier. This is usually a unique phone identifier. Only for 'guardian' enrollments.
      Returns:
      the identifier.
    • getPhoneNumber

      public String getPhoneNumber()
      Getter for the phone number. Only for 'sms' enrollments.
      Returns:
      the phone number.
    • getAuthMethod

      public String getAuthMethod()
      Getter for the authentication method.
      Returns:
      the authentication method.
    • getEnrolledAt

      public Date getEnrolledAt()
      Getter for the enrolled at.
      Returns:
      the enrolled at.
    • getLastAuth

      public Date getLastAuth()
      Getter for the last authentication.
      Returns:
      the last authentication.