datasquirel/dist/package-shared/actions/users/logout-user.d.ts
Benjamin Toby e82bcd0824 Updates
2025-01-25 14:20:25 +01:00

25 lines
582 B
TypeScript

import http from "http";
type Param = {
encryptedUserString?: string;
request?: http.IncomingMessage & {
[s: string]: any;
};
response?: http.ServerResponse & {
[s: string]: any;
};
cookieString?: string;
database?: string;
dsqlUserId?: string | number;
debug?: boolean;
};
type Return = {
success: boolean;
msg: string;
cookieNames?: any;
};
/**
* # Logout user
*/
export default function logoutUser({ response, database, dsqlUserId, encryptedUserString, request, cookieString, debug, }: Param): Return;
export {};