Package com.stytch.sdk.b2b.totp
Class TOTP.CreateParameters
-
- All Implemented Interfaces:
public final class TOTP.CreateParametersA data class wrapping the parameters needed to create a TOTP
-
-
Field Summary
Fields Modifier and Type Field Description private final StringorganizationIdprivate final StringmemberIdprivate final IntegerexpirationMinutes
-
Constructor Summary
Constructors Constructor Description TOTP.CreateParameters(String organizationId, String memberId, Integer expirationMinutes)TOTP.CreateParameters(String organizationId, String memberId)
-
Method Summary
Modifier and Type Method Description final StringgetOrganizationId()The ID of the organization the member belongs to final StringgetMemberId()The ID of the member to create the TOTP for final IntegergetExpirationMinutes()The expiration for the TOTP instance. -
-
Method Detail
-
getOrganizationId
final String getOrganizationId()
The ID of the organization the member belongs to
-
getMemberId
final String getMemberId()
The ID of the member to create the TOTP for
-
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
-
-
-
-