mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-23 10:28:54 +01:00
Tidy up some imports.
No more need to macro_use serde. Order the imports consistently (albeit somewhat arbitrary), starting with items from this crate, followed by std, followed by external crates.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
use crate::error::{JsonErrorOr, RefreshError};
|
||||
use crate::types::ApplicationSecret;
|
||||
use crate::types::{ApplicationSecret, Token};
|
||||
|
||||
use super::Token;
|
||||
use chrono::Utc;
|
||||
use futures_util::try_stream::TryStreamExt;
|
||||
use hyper;
|
||||
use hyper::header;
|
||||
use serde::Deserialize;
|
||||
use url::form_urlencoded;
|
||||
|
||||
/// Implements the [OAuth2 Refresh Token Flow](https://developers.google.com/youtube/v3/guides/authentication#devices).
|
||||
|
||||
Reference in New Issue
Block a user