kanidmd_lib/constants/
values.rs
1use super::uuids::{UUID_DOMAIN_INFO, UUID_SYSTEM_CONFIG, UUID_SYSTEM_INFO};
2
3use crate::value::PartialValue;
4use url::Url;
5
6lazy_static! {
7 pub static ref URL_SERVICE_DOCUMENTATION: Url =
8 #[allow(clippy::expect_used)]
9 Url::parse("https://kanidm.github.io/kanidm/master/integrations/oauth2.html")
10 .expect("Failed to parse oauth2 service documentation url");
11 pub static ref PV_FALSE: PartialValue = PartialValue::new_bool(false);
12 pub static ref PVUUID_DOMAIN_INFO: PartialValue = PartialValue::Uuid(UUID_DOMAIN_INFO);
13 pub static ref PVUUID_SYSTEM_CONFIG: PartialValue = PartialValue::Uuid(UUID_SYSTEM_CONFIG);
14 pub static ref PVUUID_SYSTEM_INFO: PartialValue = PartialValue::Uuid(UUID_SYSTEM_INFO);
15}