Class TOTP.CreateParameters

  • All Implemented Interfaces:

    
    public final class TOTP.CreateParameters
    
                        

    A data class wrapping the parameters needed to create a TOTP

    • Constructor Detail

      • TOTP.CreateParameters

        TOTP.CreateParameters(String organizationId, String memberId, Integer expirationMinutes)
      • TOTP.CreateParameters

        TOTP.CreateParameters(String organizationId, String memberId)
    • 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