fusionauth_rust_client/models/
open_id_connect_application_configuration.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct OpenIdConnectApplicationConfiguration {
17 #[serde(rename = "buttonImageURL", skip_serializing_if = "Option::is_none")]
18 pub button_image_url: Option<String>,
19 #[serde(rename = "buttonText", skip_serializing_if = "Option::is_none")]
20 pub button_text: Option<String>,
21 #[serde(rename = "oauth2", skip_serializing_if = "Option::is_none")]
22 pub oauth2: Option<Box<models::IdentityProviderOauth2Configuration>>,
23 #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
24 pub data: Option<std::collections::HashMap<String, serde_json::Value>>,
25 #[serde(rename = "createRegistration", skip_serializing_if = "Option::is_none")]
26 pub create_registration: Option<bool>,
27}
28
29impl OpenIdConnectApplicationConfiguration {
30 pub fn new() -> OpenIdConnectApplicationConfiguration {
32 OpenIdConnectApplicationConfiguration {
33 button_image_url: None,
34 button_text: None,
35 oauth2: None,
36 data: None,
37 create_registration: None,
38 }
39 }
40}
41