AuthenticateWithRedirectParams

Parameters for authenticating with a redirect to an external provider.

This includes OAuth providers and Enterprise SSO configurations that require redirecting the user to an external authentication provider.

Inheritors

Types

Link copied to clipboard
@Serializable
data class EnterpriseSSO(val strategy: String = ENTERPRISE_SSO, val redirectUrl: String, val legalAccepted: Boolean? = null, val emailAddress: String? = null, val identifier: String? = null) : SignIn.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 emailAddress: String? = null, val legalAccepted: Boolean? = null, val identifier: String? = null) : SignIn.AuthenticateWithRedirectParams

Parameters for authenticating with an OAuth provider using a redirect flow.

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?

The user's identifier for authentication.

Link copied to clipboard
abstract val legalAccepted: Boolean?

Whether the user has accepted the legal terms.

Link copied to clipboard
abstract val redirectUrl: String

The URL to redirect to after authentication.