feagi-agent 0.0.1

Client library for building FEAGI agents in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Exists for testing. Always Passes Auth! DO NOT USE IN PRODUCTION

use crate::command_and_control::agent_registration_message::RegistrationRequest;
use crate::server::auth::agent_auth::AgentAuth;
use crate::FeagiAgentError;

pub struct DummyAuth {}

impl AgentAuth for DummyAuth {
    fn verify_agent_allowed_to_connect(
        &mut self,
        _request: &RegistrationRequest,
    ) -> Result<(), FeagiAgentError> {
        Ok(()) // Do Nothing
    }
}