Class SSO.StartParams
-
- All Implemented Interfaces:
public final class SSO.StartParamsData class used for wrapping parameters used in SSO start calls
-
-
Field Summary
Fields Modifier and Type Field Description private final Activitycontextprivate final IntegerssoAuthRequestIdentifierprivate final StringconnectionIdprivate final StringloginRedirectUrlprivate final StringsignupRedirectUrl
-
Constructor Summary
Constructors Constructor Description SSO.StartParams(Activity context, Integer ssoAuthRequestIdentifier, String connectionId, String loginRedirectUrl, String signupRedirectUrl)SSO.StartParams(Activity context, Integer ssoAuthRequestIdentifier, String connectionId, String loginRedirectUrl)SSO.StartParams(Activity context, Integer ssoAuthRequestIdentifier, String connectionId)
-
Method Summary
Modifier and Type Method Description final ActivitygetContext()final IntegergetSsoAuthRequestIdentifier()final StringgetConnectionId()The ID of the SSO connection to use for the login flow. final StringgetLoginRedirectUrl()The URL Stytch redirects to after the SSO flow is completed for a Member that already exists. final StringgetSignupRedirectUrl()The URL Stytch redirects to after the SSO flow is completed for a Member that does not yet exist. -
-
Constructor Detail
-
SSO.StartParams
SSO.StartParams(Activity context, Integer ssoAuthRequestIdentifier, String connectionId, String loginRedirectUrl, String signupRedirectUrl)
-
SSO.StartParams
SSO.StartParams(Activity context, Integer ssoAuthRequestIdentifier, String connectionId, String loginRedirectUrl)
-
-
Method Detail
-
getContext
final Activity getContext()
-
getSsoAuthRequestIdentifier
final Integer getSsoAuthRequestIdentifier()
-
getConnectionId
final String getConnectionId()
The ID of the SSO connection to use for the login flow.
-
getLoginRedirectUrl
final String getLoginRedirectUrl()
The URL Stytch redirects to after the SSO flow is completed for a Member that already exists. This URL should be a route in your application which will run sso.authenticate (see below) and finish the login. The URL must be configured as a Login URL in the Redirect URL page. If the field is not specified, the default Login URL will be used.
-
getSignupRedirectUrl
final String getSignupRedirectUrl()
The URL Stytch redirects to after the SSO flow is completed for a Member that does not yet exist. This URL should be a route in your application which will run sso.authenticate (see below) and finish the login. The URL must be configured as a Sign Up URL in the Redirect URL page. If the field is not specified, the default Sign Up URL will be used.
-
-
-
-