Package com.stytch.sdk.ui.b2c.data
Class OAuthOptions
-
- All Implemented Interfaces:
-
android.os.Parcelable
@JsonClass(generateAdapter = true) public final class OAuthOptions implements Parcelable
A data class representing the configuration options for the OAuth product
-
-
Field Summary
Fields Modifier and Type Field Description private final StringloginRedirectURLprivate final StringsignupRedirectURLprivate final List<OAuthProvider>providers
-
Constructor Summary
Constructors Constructor Description OAuthOptions(String loginRedirectURL, String signupRedirectURL, List<OAuthProvider> providers)OAuthOptions(String loginRedirectURL, String signupRedirectURL)OAuthOptions(String loginRedirectURL)OAuthOptions()
-
Method Summary
Modifier and Type Method Description final StringgetLoginRedirectURL()The redirect url for logins. final StringgetSignupRedirectURL()The redirect url for signups. final List<OAuthProvider>getProviders()A list of OAuthProviders that you would like to support -
-
Method Detail
-
getLoginRedirectURL
final String getLoginRedirectURL()
The redirect url for logins. This should use the same scheme/host set in manifest
-
getSignupRedirectURL
final String getSignupRedirectURL()
The redirect url for signups. This should use the same scheme/host set in your manifest
-
getProviders
final List<OAuthProvider> getProviders()
A list of OAuthProviders that you would like to support
-
-
-
-