Skip to content

Commit 050dfe3

Browse files
committed
feat: Derive strum::AsRefStr for ClientAuthenticationMethod
1 parent 95490f2 commit 050dfe3

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

crates/stackable-operator/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Derive `strum::AsRefStr` for `ClientAuthenticationMethod` ([#XXXX]).
10+
11+
[#XXXX]: https://github.com/stackabletech/operator-rs/pull/XXXX
12+
713
## [0.110.0] - 2026-04-10
814

915
### Added

crates/stackable-operator/src/crd/authentication/oidc/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ pub mod versioned {
109109
PartialEq,
110110
PartialOrd,
111111
Serialize,
112+
strum::AsRefStr,
112113
)]
113114
#[serde(rename_all = "snake_case")]
115+
#[strum(serialize_all = "snake_case")]
114116
pub enum ClientAuthenticationMethod {
115117
/// Authenticate using HTTP Basic authentication with client_id and client_secret.
116118
/// This is the default method according to the OIDC spec.

0 commit comments

Comments
 (0)