supertokens-node
    Preparing search index...

    Type Alias APIInterface

    type APIInterface = {
        loginMethodsGET: (
            input: {
                clientType?: string;
                options: APIOptions;
                tenantId: string;
                userContext: UserContext;
            },
        ) => Promise<
            | {
                emailPassword: { enabled: boolean };
                firstFactors: string[];
                passwordless: { enabled: boolean };
                status: "OK";
                thirdParty: {
                    enabled: boolean;
                    providers: { id: string; name?: string }[];
                };
            }
            | GeneralErrorResponse,
        >;
    }
    Index

    Properties

    Properties

    loginMethodsGET: (
        input: {
            clientType?: string;
            options: APIOptions;
            tenantId: string;
            userContext: UserContext;
        },
    ) => Promise<
        | {
            emailPassword: { enabled: boolean };
            firstFactors: string[];
            passwordless: { enabled: boolean };
            status: "OK";
            thirdParty: {
                enabled: boolean;
                providers: { id: string; name?: string }[];
            };
        }
        | GeneralErrorResponse,
    >