Package com.stytch.sdk.b2b.recoveryCodes
Class RecoveryCodes.RecoverParameters
-
- All Implemented Interfaces:
public final class RecoveryCodes.RecoverParametersA data class wrapping the parameters needed to consume a recovery code
-
-
Field Summary
Fields Modifier and Type Field Description private final StringorganizationIdprivate final StringmemberIdprivate final IntegersessionDurationMinutesprivate final StringrecoveryCode
-
Constructor Summary
Constructors Constructor Description RecoveryCodes.RecoverParameters(String organizationId, String memberId, Integer sessionDurationMinutes, String recoveryCode)
-
Method Summary
Modifier and Type Method Description final StringgetOrganizationId()The ID of the organization the member belongs final StringgetMemberId()The ID of the member to create the TOTP for final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires final StringgetRecoveryCode()The recovery code to authenticate. -
-
Method Detail
-
getOrganizationId
final String getOrganizationId()
The ID of the organization the member belongs
-
getMemberId
final String getMemberId()
The ID of the member to create the TOTP for
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
getRecoveryCode
final String getRecoveryCode()
The recovery code to authenticate.
-
-
-
-