Package com.stytch.sdk.b2b.oauth
Class OAuth.ProviderDiscovery.GetTokenForProviderParams
-
- All Implemented Interfaces:
public final class OAuth.ProviderDiscovery.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 StringdiscoveryRedirectUrlprivate final List<String>customScopesprivate final Map<String, String>providerParams
-
Constructor Summary
Constructors Constructor Description OAuth.ProviderDiscovery.GetTokenForProviderParams(String discoveryRedirectUrl, List<String> customScopes, Map<String, String> providerParams)OAuth.ProviderDiscovery.GetTokenForProviderParams(String discoveryRedirectUrl, List<String> customScopes)OAuth.ProviderDiscovery.GetTokenForProviderParams(String discoveryRedirectUrl)OAuth.ProviderDiscovery.GetTokenForProviderParams()
-
Method Summary
Modifier and Type Method Description final StringgetDiscoveryRedirectUrl()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.ProviderDiscovery.GetTokenForProviderParams
OAuth.ProviderDiscovery.GetTokenForProviderParams(String discoveryRedirectUrl, List<String> customScopes, Map<String, String> providerParams)
-
OAuth.ProviderDiscovery.GetTokenForProviderParams
OAuth.ProviderDiscovery.GetTokenForProviderParams(String discoveryRedirectUrl, List<String> customScopes)
-
OAuth.ProviderDiscovery.GetTokenForProviderParams
OAuth.ProviderDiscovery.GetTokenForProviderParams(String discoveryRedirectUrl)
-
OAuth.ProviderDiscovery.GetTokenForProviderParams
OAuth.ProviderDiscovery.GetTokenForProviderParams()
-
-
Method Detail
-
getDiscoveryRedirectUrl
final String getDiscoveryRedirectUrl()
-
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.
-
-
-
-