Package com.stytch.sdk.consumer.totp
Class TOTP.AuthenticateParameters
-
- All Implemented Interfaces:
public final class TOTP.AuthenticateParametersA data class wrapping the parameters use in a TOTP authenticate request
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtotpCodeprivate final IntegersessionDurationMinutes
-
Constructor Summary
Constructors Constructor Description TOTP.AuthenticateParameters(String totpCode, Integer sessionDurationMinutes)TOTP.AuthenticateParameters(String totpCode)
-
Method Summary
Modifier and Type Method Description final StringgetTotpCode()The TOTP code to authenticate. final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires -
-
Method Detail
-
getTotpCode
final String getTotpCode()
The TOTP code to authenticate. The TOTP code should consist of 6 digits.
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
-
-
-