Class TOTP.CreateParameters

  • All Implemented Interfaces:

    
    public final class TOTP.CreateParameters
    
                        

    A data class wrapping the parameters used in a TOTP create request

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getExpirationMinutes() The expiration for the TOTP instance.
      • Methods inherited from class java.lang.Object

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

      • TOTP.CreateParameters

        TOTP.CreateParameters(Integer expirationMinutes)
    • Method Detail

      • getExpirationMinutes

         final Integer getExpirationMinutes()

        The expiration for the TOTP instance. If the newly created TOTP is not authenticated within this time frame the TOTP will be unusable. Defaults to 60 (1 hour) with a minimum of 5 and a maximum of