Class SmtpOtp

java.lang.Object
com.tremolosecurity.proxy.auth.SMSAuth
com.tremolosecurity.proxy.auth.SmtpOtp
All Implemented Interfaces:
AuthMechanism

public class SmtpOtp extends SMSAuth
  • Constructor Details

    • SmtpOtp

      public SmtpOtp()
  • Method Details

    • sendSMS

      public void sendSMS(HashMap<String, Attribute> authParams, String from, String message, String to, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException
      Specified by:
      sendSMS in class SMSAuth
      Throws:
      jakarta.servlet.ServletException
    • generateTimestamp

      public static String generateTimestamp(HashMap<String, Attribute> authParams)