pub fn authorize( policy: &IdentityPolicy, key_id: &str, coordinate: &str, intent: &[u8], signature: &str, ) -> Result<(), String>