Class OAuth.ThirdParty.GetTokenForProviderParams
-
- All Implemented Interfaces:
public final class OAuth.ThirdParty.GetTokenForProviderParamsData class used for wrapping parameters to start a third party OAuth flow and retrieve a token
-
-
Field Summary
Fields Modifier and Type Field Description private final StringloginRedirectUrlprivate final StringsignupRedirectUrlprivate final List<String>customScopesprivate final Map<String, String>providerParams
-
Constructor Summary
Constructors Constructor Description OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes, Map<String, String> providerParams)OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes)OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl, String signupRedirectUrl)OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl)OAuth.ThirdParty.GetTokenForProviderParams()
-
Method Summary
Modifier and Type Method Description 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.GetTokenForProviderParams
OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes, Map<String, String> providerParams)
-
OAuth.ThirdParty.GetTokenForProviderParams
OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl, String signupRedirectUrl, List<String> customScopes)
-
OAuth.ThirdParty.GetTokenForProviderParams
OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl, String signupRedirectUrl)
-
OAuth.ThirdParty.GetTokenForProviderParams
OAuth.ThirdParty.GetTokenForProviderParams(String loginRedirectUrl)
-
OAuth.ThirdParty.GetTokenForProviderParams
OAuth.ThirdParty.GetTokenForProviderParams()
-
-
Method Detail
-
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.
-
-
-
-