Interface OTP

  • All Implemented Interfaces:

    
    public interface OTP
    
                        

    The OTP interface provides methods for sending and authenticating One-Time Passcodes (OTP) via SMS

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface OTP.SMS

      Provides all possible ways to call SMS OTP endpoints

      public interface OTP.Email

      Provides all possible ways to call Email OTP endpoints

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract OTP.SMS getSms() Public variable that exposes an instance of SMS OTP
      abstract OTP.Email getEmail() Public variable that exposes an instance of Email OTP
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getSms

         abstract OTP.SMS getSms()

        Public variable that exposes an instance of SMS OTP

      • getEmail

         abstract OTP.Email getEmail()

        Public variable that exposes an instance of Email OTP