NativeMagicLinkManager

Properties

Functions

Link copied to clipboard
abstract suspend fun complete(flowId: String, approvalToken: String): ClerkResult<NativeMagicLinkAuthResult, NativeMagicLinkError>
Link copied to clipboard

abstract suspend fun startEmailLinkSignIn(email: String, emailAddressId: String?): ClerkResult<SignIn, NativeMagicLinkError>

Starts a native email-link sign-in that sends the link to emailAddressId, the emailAddressId of one of the sign-in's email_link first factors. Fails with reason code email_link_not_supported when the sign-in has no such factor. A null emailAddressId uses the first email_link factor.