threatflux-google-sdk 0.2.0

Google OAuth/Gmail/Calendar SDK for ThreatFlux
Documentation

ThreatFlux Google SDK

A reusable Google API client for ThreatFlux services. Includes OAuth token refresh helpers, Gmail API utilities, and Google Calendar API utilities.

Features

  • OAuth scope catalogs for Google Cloud, Gmail, and Calendar.
  • Token management helpers (refresh, scope merge, expiry skew handling).
  • Gmail API helpers (list messages, fetch message, send message).
  • Google Calendar API helpers (list, create, update, delete events).

Quick start

use threatflux_google_sdk::oauth::{google_cloud_scope_catalog, ScopeCatalog};
use threatflux_google_sdk::tokens::{GoogleTokenManager, TokenStore};

Enable the optional auth-sdk feature to integrate with threatflux-auth-sdk OAuth configs.

License

MIT