authenticate

abstract suspend fun authenticate(url: String, sessionDurationMinutes: Int?): DeeplinkAuthenticationStatus

Authenticates a Stytch deeplink URL, dispatching to the appropriate auth method based on the token type embedded in the URL. Returns DeeplinkAuthenticationStatus.ManualHandlingRequired for password reset tokens, which must be handled by the caller.

Parameters

url

The full deeplink URL to authenticate.

sessionDurationMinutes

The desired session duration. Defaults to the SDK's configured value.