plusplusjiajia commented on code in PR #2838:
URL: https://github.com/apache/iceberg-rust/pull/2838#discussion_r3740450116
##########
crates/catalog/rest/src/catalog.rs:
##########
@@ -341,6 +348,55 @@ impl RestCatalogConfig {
.unwrap_or(false)
}
+ /// The configured auth scheme: explicit `rest.auth.type` when set;
+ /// otherwise `oauth2` when a `token`, `credential` or `oauth2-server-uri`
+ /// is configured (preserving pre-`rest.auth.type` setups), `none` when
+ /// none is.
+ fn auth_type(&self) -> String {
Review Comment:
@CTTY Good catch, thanks — fixed: the configured type is now matched
case-insensitively.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]