oauth/v2_0/
mod.rs

1//! This module provides helpers to simplify OAuth 2.0 flows, based on
2//! the [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749).
3//!
4//! ```rust,ignore
5#![doc = include_str!("../../examples/gmail.rs")]
6//! ```
7
8mod authorization_code_grant;
9mod client;
10mod error;
11mod refresh_access_token;
12
13#[doc(inline)]
14pub use self::{
15    authorization_code_grant::AuthorizationCodeGrant,
16    client::Client,
17    error::{Error, Result},
18    refresh_access_token::RefreshAccessToken,
19};