threatflux-google-sdk

Crates.iothreatflux-google-sdk
lib.rsthreatflux-google-sdk
version0.2.0
created_at2026-01-03 15:13:28.620753+00
updated_at2026-01-03 15:13:28.620753+00
descriptionGoogle OAuth/Gmail/Calendar SDK for ThreatFlux
homepagehttps://github.com/ThreatFlux/core
repositoryhttps://github.com/ThreatFlux/core
max_upload_size
id2020298
size168,779
Wyatt Roersma (wroersma)

documentation

https://docs.rs/threatflux-google-sdk

README

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

Commit count: 0

cargo fmt