supertokens-node
    Preparing search index...

    Type Alias APIInterface

    type APIInterface = {
        callbackPOST:
            | undefined
            | (
                (
                    input: {
                        options: APIOptions;
                        relayState: string | undefined;
                        samlResponse: string;
                        tenantId: string;
                        userContext: UserContext;
                    },
                ) => Promise<
                    | { redirectURI: string; status: "OK" }
                    | {
                        status:
                            | "SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
                            | "INVALID_RELAY_STATE_ERROR"
                            | "INVALID_CLIENT_ERROR"
                            | "IDP_LOGIN_DISALLOWED_ERROR";
                    }
                    | GeneralErrorResponse,
                >
            );
        loginGET: | undefined
        | (
            (
                input: {
                    clientId: string;
                    options: APIOptions;
                    redirectURI: string;
                    state?: string;
                    tenantId: string;
                    userContext: UserContext;
                },
            ) => Promise<
                | { redirectURI: string; state?: string; status: "OK" }
                | { status: "INVALID_CLIENT_ERROR" }
                | GeneralErrorResponse,
            >
        );
    }
    Index

    Properties

    callbackPOST:
        | undefined
        | (
            (
                input: {
                    options: APIOptions;
                    relayState: string | undefined;
                    samlResponse: string;
                    tenantId: string;
                    userContext: UserContext;
                },
            ) => Promise<
                | { redirectURI: string; status: "OK" }
                | {
                    status:
                        | "SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
                        | "INVALID_RELAY_STATE_ERROR"
                        | "INVALID_CLIENT_ERROR"
                        | "IDP_LOGIN_DISALLOWED_ERROR";
                }
                | GeneralErrorResponse,
            >
        )
    loginGET:
        | undefined
        | (
            (
                input: {
                    clientId: string;
                    options: APIOptions;
                    redirectURI: string;
                    state?: string;
                    tenantId: string;
                    userContext: UserContext;
                },
            ) => Promise<
                | { redirectURI: string; state?: string; status: "OK" }
                | { status: "INVALID_CLIENT_ERROR" }
                | GeneralErrorResponse,
            >
        )