Class GuardianTemplates

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

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

    • GuardianTemplates

      public GuardianTemplates(String enrollmentMessage, String verificationMessage)
  • Method Details

    • getEnrollmentMessage

      public String getEnrollmentMessage()
      Getter for the message to send when the user enrolls with SMS.
      Returns:
      the message to send upon enrollment.
    • setEnrollmentMessage

      public void setEnrollmentMessage(String enrollmentMessage)
      Setter for the message to send when the user enrolls with SMS.
      Parameters:
      enrollmentMessage - the message to send upon enrollment.
    • getVerificationMessage

      public String getVerificationMessage()
      Getter for the message to send when the user is prompted to verify their account via SMS.
      Returns:
      the message to send upon verification.
    • setVerificationMessage

      public void setVerificationMessage(String verificationMessage)
      Setter for the message to send when the user is prompted to verify their account via SMS.
      Parameters:
      verificationMessage - the message to send upon verification.