mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-03 08:33:17 +00:00
implement Deserialize/Serialize for OpenIdConfig
Useful to create perl bindings.
This commit is contained in:
parent
634e35489a
commit
73c5c4af7c
@ -35,9 +35,11 @@ use openidconnect::{
|
||||
Scope,
|
||||
};
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct OpenIdConfig {
|
||||
pub issuer_url: String,
|
||||
pub client_id: String,
|
||||
#[serde(skip_serializing_if="Option::is_none")]
|
||||
pub client_key: Option<String>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user