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