mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-06 11:19:39 +01:00
Fixing typos and spelling in comments.
This commit is contained in:
@@ -240,7 +240,7 @@ impl<'c, FD: 'static + FlowDelegate + Clone + Send, C: 'c + hyper::client::conne
|
||||
.then(|r| {
|
||||
match r {
|
||||
Ok(Some(mut code)) => {
|
||||
// Partial backwards compatibilty in case an implementation adds a new line
|
||||
// Partial backwards compatibility in case an implementation adds a new line
|
||||
// due to previous behaviour.
|
||||
let ends_with_newline =
|
||||
code.chars().last().map(|c| c == '\n').unwrap_or(false);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//! # Device Flow Usage
|
||||
//! As the `DeviceFlow` involves polling, the `DeviceFlowHelper` should be used
|
||||
//! as means to adhere to the protocol, and remain resilient to all kinds of errors
|
||||
//! that can occour on the way.
|
||||
//! that can occur on the way.
|
||||
//!
|
||||
//! # Service account "flow"
|
||||
//! When using service account credentials, no user interaction is required. The access token
|
||||
|
||||
@@ -9,7 +9,7 @@ use hyper::header;
|
||||
use serde_json as json;
|
||||
use url::form_urlencoded;
|
||||
|
||||
/// Implements the [Outh2 Refresh Token Flow](https://developers.google.com/youtube/v3/guides/authentication#devices).
|
||||
/// Implements the [OAuth2 Refresh Token Flow](https://developers.google.com/youtube/v3/guides/authentication#devices).
|
||||
///
|
||||
/// Refresh an expired access token, as obtained by any other authentication flow.
|
||||
/// This flow is useful when your `Token` is expired and allows to obtain a new
|
||||
|
||||
Reference in New Issue
Block a user