Preferably not to be answered by Maidsafe Devs, but a community member who knows a bit of Rust (so as not to distract as this is not a priority).
I’m looking around in the safe-cli library at what bits of API are exposed and what is to come, and trying to understand some of the underlying Rust code.
The code in safe-cli/safe_api_ffi/ffi/mod.rs creates a Safe object (interface?) to auth the app, here:
That interface is implemented in safe-cli/src/api/auth.rs below.