diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-08-11 19:39:44 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-08-11 19:39:47 -0700 |
commit | f2179cc9071c4e95c307f7506e764ada9f484052 (patch) | |
tree | b51d83986e91fddb2ad245003c87407ecbdcc563 /fatcat-openapi/src/context.rs | |
parent | 7392e457fae4d9f7b3dfa79dccfdaf23d6f9d1a5 (diff) | |
download | fatcat-cli-f2179cc9071c4e95c307f7506e764ada9f484052.tar.gz fatcat-cli-f2179cc9071c4e95c307f7506e764ada9f484052.zip |
re-codegen fatcat-openapi module
this includes manual reconsiliation of cargo deps (Cargo.toml)
Diffstat (limited to 'fatcat-openapi/src/context.rs')
-rw-r--r-- | fatcat-openapi/src/context.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fatcat-openapi/src/context.rs b/fatcat-openapi/src/context.rs index d782855..33702b8 100644 --- a/fatcat-openapi/src/context.rs +++ b/fatcat-openapi/src/context.rs @@ -102,9 +102,9 @@ where { use std::ops::Deref; - use swagger::auth::Basic; - if let Some(basic) = swagger::auth::from_headers::<Basic>(&headers) { - let auth_data = AuthData::Basic(basic); + use swagger::auth::Bearer; + if let Some(bearer) = swagger::auth::from_headers::<Bearer>(&headers) { + let auth_data = AuthData::Bearer(bearer); let context = context.push(Some(auth_data)); let context = context.push(None::<Authorization>); |