Package com.stytch.sdk.b2b.sso
Class SSO.GetTokenForProviderParams
-
- All Implemented Interfaces:
public final class SSO.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 StringconnectionIdprivate final StringloginRedirectUrlprivate final StringsignupRedirectUrl
-
Constructor Summary
Constructors Constructor Description SSO.GetTokenForProviderParams(String connectionId, String loginRedirectUrl, String signupRedirectUrl)SSO.GetTokenForProviderParams(String connectionId, String loginRedirectUrl)SSO.GetTokenForProviderParams(String connectionId)
-
Method Summary
Modifier and Type Method Description final StringgetConnectionId()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. -
-
Constructor Detail
-
SSO.GetTokenForProviderParams
SSO.GetTokenForProviderParams(String connectionId, String loginRedirectUrl, String signupRedirectUrl)
-
SSO.GetTokenForProviderParams
SSO.GetTokenForProviderParams(String connectionId, String loginRedirectUrl)
-
SSO.GetTokenForProviderParams
SSO.GetTokenForProviderParams(String connectionId)
-
-
Method Detail
-
getConnectionId
final String getConnectionId()
-
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.
-
-
-
-