AuthenticateWithRedirectParams

Defines the parameters for authenticating with redirect-based flows. This sealed interface supports OAuth and Enterprise SSO authentication methods.

Inheritors

Types

Link copied to clipboard
@Serializable
data class EnterpriseSSO(val strategy: String = AuthStrategy.ENTERPRISE_SSO, val redirectUrl: String = RedirectConfiguration.DEFAULT_REDIRECT_URL, val legalAccepted: Boolean? = null, val emailAddress: String? = null, val identifier: String? = null) : SignUp.AuthenticateWithRedirectParams

Enterprise SSO params for redirect authentication.

Link copied to clipboard
@Serializable
data class OAuth(val provider: OAuthProvider, val redirectUrl: String = RedirectConfiguration.DEFAULT_REDIRECT_URL, val identifier: String? = null, val emailAddress: String? = null, val legalAccepted: Boolean? = null) : SignUp.AuthenticateWithRedirectParams

OAuth authentication parameters for redirect-based sign-up.

Properties

Link copied to clipboard
abstract val emailAddress: String?

The user's email address for pre-filling authentication forms.

Link copied to clipboard
abstract val identifier: String?

An optional identifier for the user (e.g., email, username).

Link copied to clipboard
abstract val legalAccepted: Boolean?

Whether the user has accepted the legal terms and conditions.

Link copied to clipboard
abstract val redirectUrl: String

The URL to redirect to after authentication completion.