Skip to content

Commit c2b4d65

Browse files
committed
chore: remove unnecessary serde attributes
1 parent bf01da4 commit c2b4d65

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • crates/stackable-operator/src/crd/authentication/oidc

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,23 +115,18 @@ pub mod versioned {
115115
/// Authenticate using HTTP Basic authentication with client_id and client_secret.
116116
/// This is the default method according to the OIDC spec.
117117
#[default]
118-
#[serde(rename = "client_secret_basic")]
119118
ClientSecretBasic,
120119

121120
/// Send client_id and client_secret in the request body.
122-
#[serde(rename = "client_secret_post")]
123121
ClientSecretPost,
124122

125123
/// Authenticate using a JWT signed with an HMAC SHA algorithm using the client_secret.
126-
#[serde(rename = "client_secret_jwt")]
127124
ClientSecretJwt,
128125

129126
/// Authenticate using a JWT signed with the client's private key.
130-
#[serde(rename = "private_key_jwt")]
131127
PrivateKeyJwt,
132128

133129
/// No client authentication (for public clients or implicit flow).
134-
#[serde(rename = "none")]
135130
None,
136131
}
137132

0 commit comments

Comments
 (0)