From 3cf00eb1cfcfa22b08e66df14e62f63847066d04 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Wed, 21 Sep 2016 22:50:23 +0200 Subject: [PATCH] docs(crate): Add a short snippet about service account auth. --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 1c8c7bac7..5832b821b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,12 @@ //! as means to adhere to the protocol, and remain resilient to all kinds of errors //! that can occour on the way. //! +//! # Service account "flow" +//! When using service account credentials, no user interaction is required. The access token +//! can be obtained automatically using the private key of the client (which you can download +//! from the API provider). See `examples/service_account/` for an example on how to use service +//! account credentials. +//! //! # Installed Flow Usage //! The `InstalledFlow` involves showing a URL to the user (or opening it in a browser) //! and then either prompting the user to enter a displayed code, or make the authorizing