Class OAuth.ThirdParty.StartParameters
-
- All Implemented Interfaces:
public final class OAuth.ThirdParty.StartParametersData class used for wrapping parameters to start a third party OAuth flow
-
-
Field Summary
Fields Modifier and Type Field Description private final Activitycontextprivate final IntegeroAuthRequestIdentifierprivate final StringloginRedirectUrlprivate final StringsignupRedirectUrlprivate final List<String>customScopesprivate final Map<String, String>providerParams
-
Constructor Summary
Constructors Constructor Description OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes, Map<String, String> providerParams)OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes)OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl, String signupRedirectUrl)OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl)OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier)
-
Method Summary
Modifier and Type Method Description final ActivitygetContext()the calling Activity for launching the browser final IntegergetOAuthRequestIdentifier()is an ID for the return intent from the OAuth flow final StringgetLoginRedirectUrl()The url an existing user is redirected to after authenticating with the identity provider. final StringgetSignupRedirectUrl()The url a new user is redirected to after authenticating with the identity provider. final List<String>getCustomScopes()Any additional scopes to be requested from the identity provider final Map<String, String>getProviderParams()An optional mapping of provider specific values to pass through to the OAuth provider. -
-
Constructor Detail
-
OAuth.ThirdParty.StartParameters
OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes, Map<String, String> providerParams)
-
OAuth.ThirdParty.StartParameters
OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes)
-
OAuth.ThirdParty.StartParameters
OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl, String signupRedirectUrl)
-
OAuth.ThirdParty.StartParameters
OAuth.ThirdParty.StartParameters(Activity context, Integer oAuthRequestIdentifier, String loginRedirectUrl)
-
-
Method Detail
-
getContext
final Activity getContext()
the calling Activity for launching the browser
-
getOAuthRequestIdentifier
final Integer getOAuthRequestIdentifier()
is an ID for the return intent from the OAuth flow
-
getLoginRedirectUrl
final String getLoginRedirectUrl()
The url an existing user is redirected to after authenticating with the identity provider. This should be a url that redirects back to your app. If this value is not passed, the default login redirect URL set in the Stytch Dashboard is used. If you have not set a default login redirect URL, an error is returned.
-
getSignupRedirectUrl
final String getSignupRedirectUrl()
The url a new user is redirected to after authenticating with the identity provider. This should be a url that redirects back to your app. If this value is not passed, the default sign-up redirect URL set in the Stytch Dashboard is used. If you have not set a default sign-up redirect URL, an error is returned.
-
getCustomScopes
final List<String> getCustomScopes()
Any additional scopes to be requested from the identity provider
-
getProviderParams
final Map<String, String> getProviderParams()
An optional mapping of provider specific values to pass through to the OAuth provider.
-
-
-
-