Package com.stytch.sdk.b2b.oauth
Class OAuth.AuthenticateParameters
-
- All Implemented Interfaces:
public final class OAuth.AuthenticateParametersA data class wrapping the parameters necessary to authenticate an OAuth flow
-
-
Field Summary
Fields Modifier and Type Field Description private final StringoauthTokenprivate final Localelocaleprivate final IntegersessionDurationMinutes
-
Constructor Summary
Constructors Constructor Description OAuth.AuthenticateParameters(String oauthToken, Locale locale, Integer sessionDurationMinutes)OAuth.AuthenticateParameters(String oauthToken, Locale locale)OAuth.AuthenticateParameters(String oauthToken)
-
Method Summary
Modifier and Type Method Description final StringgetOauthToken()The oauth token used to finish the discovery flow 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. final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires -
-
Constructor Detail
-
OAuth.AuthenticateParameters
OAuth.AuthenticateParameters(String oauthToken, Locale locale, Integer sessionDurationMinutes)
-
OAuth.AuthenticateParameters
OAuth.AuthenticateParameters(String oauthToken, Locale locale)
-
OAuth.AuthenticateParameters
OAuth.AuthenticateParameters(String oauthToken)
-
-
Method Detail
-
getOauthToken
final String getOauthToken()
The oauth token used to finish the discovery flow
-
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.
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
-
-
-