@auth0/nextjs-auth0 - v4.21.0
    Preparing search index...

    Interface PasswordlessClient

    Public interface for the passwordless client. Accessible via auth0.passwordless after initialization.

    interface PasswordlessClient {
        start(options: PasswordlessStartOptions): Promise<void>;
        verify(options: PasswordlessVerifyOptions): Promise<void>;
    }
    Index

    Methods

    Methods

    • Starts a passwordless authentication flow by sending an OTP or magic link to the user's email address or phone number.

      For magic link (send: 'link') in App Router, the transaction cookie is written via next/headers automatically. In Pages Router, pass explicit req and res so the cookie can be set on the response.

      Parameters

      Returns Promise<void>