Mercurial
comparison mrjunejune/auth_api.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 | 04fee26ecce0 |
| children |
comparison
equal
deleted
inserted
replaced
| 278:8d560f50ed4c | 279:b3b547563ec7 |
|---|---|
| 1 #ifndef MRJUNEJUNE_AUTH_API_H | 1 #ifndef MRJUNEJUNE_AUTH_API_H |
| 2 #define MRJUNEJUNE_AUTH_API_H | 2 #define MRJUNEJUNE_AUTH_API_H |
| 3 | 3 |
| 4 #include "dowa/dowa.h" | 4 #include "dowa/dowa.h" |
| 5 #include "auth/auth_http.h" | |
| 5 #include "auth/auth_store.h" | 6 #include "auth/auth_store.h" |
| 6 #include "seobeo/seobeo.h" | 7 #include "seobeo/seobeo.h" |
| 7 | 8 |
| 8 /* Cookie names */ | 9 /* Cookie names */ |
| 9 #define AUTH_API_SESSION_COOKIE_NAME "mjj_session" | 10 #define AUTH_API_SESSION_COOKIE_NAME AUTH_HTTP_SESSION_COOKIE_NAME |
| 10 #define AUTH_API_GUEST_COOKIE_NAME "mjj_guest" | 11 #define AUTH_API_GUEST_COOKIE_NAME "mjj_guest" |
| 11 | 12 |
| 12 /* Default TTLs (seconds) */ | 13 /* Default TTLs (seconds) */ |
| 13 #define AUTH_API_SESSION_IDLE_TTL_DEFAULT (7 * 24 * 3600) | 14 #define AUTH_API_SESSION_IDLE_TTL_DEFAULT (7 * 24 * 3600) |
| 14 #define AUTH_API_SESSION_ABS_TTL_DEFAULT (30 * 24 * 3600) | 15 #define AUTH_API_SESSION_ABS_TTL_DEFAULT (30 * 24 * 3600) |