Package com.stytch.sdk.consumer.totp
Class TOTP.CreateParameters
-
- All Implemented Interfaces:
public final class TOTP.CreateParametersA data class wrapping the parameters used in a TOTP create request
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerexpirationMinutes
-
Constructor Summary
Constructors Constructor Description TOTP.CreateParameters(Integer expirationMinutes)
-
Method Summary
Modifier and Type Method Description final IntegergetExpirationMinutes()The expiration for the TOTP instance. -
-
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
-
-
-
-