supertokens-node
    Preparing search index...

    Variable signUp

    signUp: (
        input: {
            credential: RegistrationPayload;
            session: undefined | SessionContainer;
            shouldTryLinkingWithSessionUser: undefined | boolean;
            tenantId: string;
            userContext?: Record<string, any>;
            webauthnGeneratedOptionsId: string;
        },
    ) => Promise<
        | SignUpErrorResponse
        | { recipeUserId: RecipeUserId; status: "OK"; user: User },
    > = Wrapper.signUp

    Type declaration

      • (
            input: {
                credential: RegistrationPayload;
                session: undefined | SessionContainer;
                shouldTryLinkingWithSessionUser: undefined | boolean;
                tenantId: string;
                userContext?: Record<string, any>;
                webauthnGeneratedOptionsId: string;
            },
        ): Promise<
            | SignUpErrorResponse
            | { recipeUserId: RecipeUserId; status: "OK"; user: User },
        >
      • Parameters

        • input: {
              credential: RegistrationPayload;
              session: undefined | SessionContainer;
              shouldTryLinkingWithSessionUser: undefined | boolean;
              tenantId: string;
              userContext?: Record<string, any>;
              webauthnGeneratedOptionsId: string;
          }

        Returns Promise<
            | SignUpErrorResponse
            | { recipeUserId: RecipeUserId; status: "OK"; user: User },
        >