winget_types/installer/authentication/
mod.rs1pub use authentication_type::{AuthenticationType, AuthenticationTypeParseError};
2pub use info::{MicrosoftEntraIdAuthenticationInfo, Resource, ResourceError};
3
4mod authentication_type;
5pub mod info;
6
7#[derive(Clone, Debug, Default, Eq, PartialEq, Ord, PartialOrd, Hash)]
8#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
9#[cfg_attr(feature = "serde", serde(rename_all = "PascalCase"))]
10pub struct Authentication {
11 #[cfg_attr(feature = "serde", serde(rename = "AuthenticationType"))]
14 pub r#type: AuthenticationType,
15
16 #[cfg_attr(
19 feature = "serde",
20 serde(skip_serializing_if = "MicrosoftEntraIdAuthenticationInfo::is_empty")
21 )]
22 pub microsoft_entra_id_authentication_info: MicrosoftEntraIdAuthenticationInfo,
23}