// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum LocalAccountAuth {
/// The service shall authenticate users based on the account service-defined manager accounts resource collection.
Enabled,
/// The service shall never authenticate users based on the account service-defined manager accounts resource collection.
Disabled,
/// The service shall authenticate users based on the account service-defined manager accounts resource collection only if any external account providers are currently unreachable.
Fallback,
/// The service shall first authenticate users based on the account service-defined manager accounts resource collection. If authentication fails, the service shall authenticate by using external account providers. Added in version v1_6_0.
LocalFirst,
}
#[allow(clippy::derivable_impls)]
impl Default for LocalAccountAuth {
fn default() -> LocalAccountAuth {
LocalAccountAuth::Enabled
}
}
impl crate::Metadata<'static> for LocalAccountAuth {
const JSON_SCHEMA: &'static str = "AccountService.v1_12_0.json";
}