Package com.stytch.sdk.b2b.sessions
Class B2BSessions.ExchangeParameters
-
- All Implemented Interfaces:
public final class B2BSessions.ExchangeParametersData class used for wrapping parameters used with Sessions exchange
-
-
Field Summary
Fields Modifier and Type Field Description private final StringorganizationIdprivate final IntegersessionDurationMinutesprivate final Localelocale
-
Constructor Summary
Constructors Constructor Description B2BSessions.ExchangeParameters(String organizationId, Integer sessionDurationMinutes, Locale locale)B2BSessions.ExchangeParameters(String organizationId, Integer sessionDurationMinutes)
-
Method Summary
Modifier and Type Method Description final StringgetOrganizationId()The ID of the organization that the new session should belong to. final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires final LocalegetLocale()The locale will be used if an OTP code is sent to the member's phone number as part of a secondary authentication requirement. -
-
Method Detail
-
getOrganizationId
final String getOrganizationId()
The ID of the organization that the new session should belong to.
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
getLocale
final Locale getLocale()
The locale will be used if an OTP code is sent to the member's phone number as part of a secondary authentication requirement.
-
-
-
-