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
fun StartParameters(    context: Activity,     oAuthRequestIdentifier: Int,     loginRedirectUrl: String? = null,     signupRedirectUrl: String? = null,     customScopes: List<String>? = null)

Properties

Link copied to clipboard
val context: Activity

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
val loginRedirectUrl: String? = null

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
val oAuthRequestIdentifier: Int

is an ID for the return intent from the OAuth flow

Link copied to clipboard
val signupRedirectUrl: String? = null

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.