redfish_codegen/models/external_account_provider/v1_6_0/account_provider_types.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum AccountProviderTypes {
6 /// The external account provider shall be a DMTF Redfish Specification-conformant service. The ServiceAddresses format shall contain a set of URIs that correspond to a Redfish account service.
7 RedfishService,
8 /// The external account provider shall be a Microsoft Active Directory Technical Specification-conformant service. The ServiceAddresses format shall contain a set of fully qualified domain names (FQDN) or NetBIOS names that links to the set of domain servers for the Active Directory service.
9 ActiveDirectoryService,
10 /// The external account provider shall be an RFC4511-conformant service. The ServiceAddresses format shall contain a set of fully qualified domain names (FQDN) that links to the set of LDAP servers for the service.
11 LDAPService,
12 /// An OEM-specific external authentication or directory service.
13 OEM,
14 /// The external account provider shall be an RFC8907-conformant service. The ServiceAddresses format shall contain a set of host:port that correspond to a TACACS+ service and where the format for host and port are defined in RFC3986. Added in version v1_3_0.
15 TACACSplus,
16 /// The external account provider shall be an RFC6749-conformant service. The ServiceAddresses format shall contain a set of URIs that correspond to the RFC8414-defined metadata for the OAuth 2.0 service. Added in version v1_3_0.
17 OAuth2,
18}
19
20#[allow(clippy::derivable_impls)]
21impl Default for AccountProviderTypes {
22 fn default() -> AccountProviderTypes {
23 AccountProviderTypes::RedfishService
24 }
25}
26
27impl crate::Metadata<'static> for AccountProviderTypes {
28 const JSON_SCHEMA: &'static str = "ExternalAccountProvider.v1_6_0.json";
29}