mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-08 12:06:59 +01:00
docs(crate): Add a short snippet about service account auth.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user