datasquirel/dist/users/social/google-auth.d.ts
Benjamin Toby a3561da53d Updates
2025-01-10 20:35:05 +01:00

22 lines
690 B
TypeScript

import http from "http";
import { APILoginFunctionReturn } from "../../package-shared/types";
type Param = {
key?: string;
token: string;
database?: string;
response?: http.ServerResponse;
encryptionKey?: string;
encryptionSalt?: string;
additionalFields?: string[];
additionalData?: {
[s: string]: string | number;
};
apiUserID?: string | number;
useLocal?: boolean;
};
/**
* # SERVER FUNCTION: Login with google Function
*/
export default function googleAuth({ key, token, database, response, encryptionKey, encryptionSalt, additionalFields, additionalData, apiUserID, useLocal, }: Param): Promise<APILoginFunctionReturn>;
export {};