Files
windmill/backend/windmill-api/src/ee.rs
T
Ruben Fiszel 9c152d96c9 fix tests
2024-06-18 22:57:51 +02:00

17 lines
413 B
Rust

use anyhow::anyhow;
pub async fn validate_license_key(_license_key: String) -> anyhow::Result<String> {
// Implementation is not open source
Err(anyhow!("License can't be validated in Windmill CE"))
}
#[cfg(feature = "enterprise")]
pub async fn jwt_ext_auth(
_w_id: Option<&String>,
_token: &str,
) -> Option<(crate::db::ApiAuthed, usize)> {
// Implementation is not open source
None
}