UNPKG

@hellocoop/api

Version:

Client API for Hellō https://hello.dev

9 lines 495 B
import { HelloRequest, HelloResponse } from '../types'; import { Auth, Claims } from '@hellocoop/definitions'; export type AuthUpdates = Claims & { [key: string]: any; }; export declare const handleAuth: (req: HelloRequest, res: HelloResponse) => Promise<void>; export declare const clearAuth: (res: HelloResponse) => Promise<void>; export declare const updateAuth: (req: HelloRequest, res: HelloResponse, authUpdates: AuthUpdates) => Promise<Auth | null>; //# sourceMappingURL=auth.d.ts.map