Skip to content

Commit b508d74

Browse files
committed
docs(http): Use standard OAuth 2.0 spelling
1 parent a3f1ba9 commit b508d74

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎clippy.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
doc-valid-idents = ["OAuth2", ".."]
21
large-error-threshold = 256 # in bytes
32
allow-unwrap-in-tests = true
43

‎src/http.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ pub enum Auth {
433433

434434
/// Bearer authentication.
435435
///
436-
/// The bearer token value (OAuth2, JWT, etc.) is passed as-is.
436+
/// The bearer token value (OAuth 2.0, JWT, etc.) is passed as-is.
437437
Bearer {
438438
/// The bearer authentication token.
439439
token: SensitiveString,

‎website/cue/reference/components/generated/schema_definitions/core_option_option_vector_http_auth.cue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _schemaDefinitions: "core::option::Option<vector::http::Auth>": object: options:
3434
bearer: """
3535
Bearer authentication.
3636
37-
The bearer token value (OAuth2, JWT, etc.) is passed as-is.
37+
The bearer token value (OAuth 2.0, JWT, etc.) is passed as-is.
3838
"""
3939
custom: "Custom Authorization Header Value, will be inserted into the headers as `Authorization: < value >`"
4040
}

0 commit comments

Comments
 (0)