Google API authentication helpers: service accounts and local OAuth
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 42 lines 1.2 kB view raw
1(lang dune 3.21) 2(using mdx 0.4) 3 4(name gauth) 5 6(generate_opam_files true) 7 8(source (tangled gazagnaire.org/ocaml-gauth)) 9(license MIT) 10(authors "Thomas Gazagnaire <thomas@gazagnaire.org>") 11(maintainers "Thomas Gazagnaire <thomas@gazagnaire.org>") 12 13(package 14 (name gauth) 15 (synopsis "Google API authentication helpers: service accounts and local OAuth") 16 (tags (org:blacksun google network http crypto)) 17 (description 18 "Authentication helpers for Google APIs (Docs, Sheets, Drive, Calendar, 19 Gmail, ...). Supports two flows: (1) service-account JWT bearer per 20 RFC 7523 using a service-account JSON key, and (2) interactive local 21 OAuth for CLIs with a localhost callback listener. Produces lifecycle- 22 managed Oauth.Token.t values ready for use with Requests.") 23 (depends 24 (ocaml (>= 5.1)) 25 (dune (>= 3.21)) 26 (digestif (>= 1.0)) 27 (eio (>= 1.0)) 28 (fmt (>= 0.9)) 29 (nox-json (>= 0.2)) 30 (nox-jwt (>= 0.1)) 31 (logs (>= 0.7)) 32 (oauth (>= 0.1)) 33 (requests (>= 0.1)) 34 (uri (>= 4.0)) 35 (nox-x509 (>= 1.0)) 36 (nox-xdg (>= 0.1)) 37 (alcotest :with-test) 38 (nox-crypto-rng :with-test) 39 (eio_main :with-test) 40 (odoc :with-doc) 41 nox-crypto-pk 42 (mdx :with-test)))