Package com.stytch.sdk.consumer.totp
Class TOTP.RecoverParameters
-
- All Implemented Interfaces:
public final class TOTP.RecoverParametersA data class wrapping the parameters use in a TOTP recover request
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrecoveryCodeprivate final IntegersessionDurationMinutes
-
Constructor Summary
Constructors Constructor Description TOTP.RecoverParameters(String recoveryCode, Integer sessionDurationMinutes)TOTP.RecoverParameters(String recoveryCode)
-
Method Summary
Modifier and Type Method Description final StringgetRecoveryCode()The recovery code to authenticate. final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires -
-
Method Detail
-
getRecoveryCode
final String getRecoveryCode()
The recovery code to authenticate.
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
-
-
-