Mercurial
view connectors/auth_http_adapter.h @ 279:b3b547563ec7
Add Google connector service and agent wiki
Implement the C/Seobeo Google Drive and Gmail connector with encrypted OAuth storage, Zenbu authentication, browser testing, AI tool discovery, chunked HTTP decoding, and Bazel coverage. Consolidate repository guidance into progressive wiki documentation and enforce arena-first allocation for new first-party C code.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 84c338fd-0939-4bb3-b7f3-1062eb213e5d
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 17 Aug 2026 22:22:36 -0700 |
| parents | |
| children |
line wrap: on
line source
#ifndef ZENBU_CONNECTOR_AUTH_HTTP_ADAPTER_H #define ZENBU_CONNECTOR_AUTH_HTTP_ADAPTER_H #include "auth/auth_http.h" #include "connectors/connector.h" typedef struct { Auth_Store *store; uint8 cookie_secret[AUTH_CRYPTO_COOKIE_SECRET_MAX_BYTES]; size_t cookie_secret_length; int64 session_idle_ttl_secs; } Connector_Auth_HTTP_Context; boolean Connector_Auth_HTTP_Init( Connector_Auth_HTTP_Context *context, const char *database_path, const char *cookie_secret_hex, int64 session_idle_ttl_secs); void Connector_Auth_HTTP_Destroy(Connector_Auth_HTTP_Context *context); Connector_Auth_Adapter Connector_Auth_HTTP_Create_Adapter( Connector_Auth_HTTP_Context *context); #endif