StartParameters

data class StartParameters(val context: Activity, val oAuthRequestIdentifier: Int, val loginRedirectUrl: String? = null, val signupRedirectUrl: String? = null, val customScopes: List<String>? = null)

Data class used for wrapping parameters to start a third party OAuth flow

Constructors

Link copied to clipboard
constructor(context: Activity, oAuthRequestIdentifier: Int, loginRedirectUrl: String? = null, signupRedirectUrl: String? = null, customScopes: List<String>? = null)

Properties

Link copied to clipboard

the calling Activity for launching the browser

Link copied to clipboard
val customScopes: List<String>? = null

Any additional scopes to be requested from the identity provider.

Link copied to clipboard

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.

Link copied to clipboard

is an ID for the return intent from the OAuth flow

Link copied to clipboard

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.