UNPKG

@hellocoop/api

Version:

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

11 lines 479 B
import { HelloRequest, HelloResponse } from '../types'; export type OIDC = { code_verifier: string; nonce: string; redirect_uri: string; target_uri: string; }; export declare const getOidc: (req: HelloRequest, res: HelloResponse) => Promise<OIDC | undefined>; export declare const saveOidc: (req: HelloRequest, res: HelloResponse, oidc: OIDC) => Promise<void>; export declare const clearOidcCookie: (res: HelloResponse) => void; //# sourceMappingURL=oidc.d.ts.map