Skip to content

Commit 151dcc6

Browse files
committed
Rename extra_fields_for_product to product_specific_fields
1 parent 75d7cea commit 151dcc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commons/authentication/oidc.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,10 @@ pub struct ClientAuthenticationOptions<T = ()> {
226226
#[serde(default)]
227227
pub extra_scopes: Vec<String>,
228228

229+
/// If desired, operators can add custom fields that are only needed for this specific product.
230+
/// They need to create a struct holding them and pass that as `T`.
229231
#[serde(flatten)]
230-
pub extra_fields_for_product: T,
232+
pub product_specific_fields: T,
231233
}
232234

233235
#[cfg(test)]

0 commit comments

Comments
 (0)