supertokens-node
    Preparing search index...

    Variable createMagicLink

    createMagicLink: (
        input:
            | {
                email: string;
                tenantId: string;
                userContext?: Record<string, any>;
            }
            | {
                phoneNumber: string;
                tenantId: string;
                userContext?: Record<string, any>;
            },
    ) => Promise<string> = Wrapper.createMagicLink

    Type declaration

      • (
            input:
                | {
                    email: string;
                    tenantId: string;
                    userContext?: Record<string, any>;
                }
                | {
                    phoneNumber: string;
                    tenantId: string;
                    userContext?: Record<string, any>;
                },
        ): Promise<string>
      • Parameters

        • input:
              | { email: string; tenantId: string; userContext?: Record<string, any> }
              | {
                  phoneNumber: string;
                  tenantId: string;
                  userContext?: Record<string, any>;
              }

        Returns Promise<string>