Expand description
AirClient::authenticate - authenticates a user against the Air
daemon’s AuthenticationService and returns a session token on
success.
Translates the wire-level response:
response.success == true→Ok(response.token)response.success == false→AirError::Authenticationcarryingresponse.error- tonic transport / status failure →
AirError::Network
The caller passes a request_id; this lets log lines + traces from
the daemon side be cross-referenced. Use
[crate::Client::AirServiceProvider::GenerateRequestID::Fn] to mint
one.