Skip to main content

heddle_client/
lib.rs

1//! Heddle hosted-backend client and command implementations.
2//!
3//! Cli optionally links this crate when its `client` Cargo
4//! feature is on. The trait surface that cli dispatches through lives
5//! in `weft-client-shim`; this crate provides the real impls.
6
7pub mod auth_cmd;
8pub mod auth_requests;
9pub mod credentials;
10pub mod device_flow;
11pub mod grpc_hosted;
12pub mod presence;
13pub mod support;
14pub mod support_requests;
15
16pub use auth_cmd::cmd_auth;
17pub use auth_requests::AuthCommand;
18// Re-export `device_flow` under the historical `auth` module name so
19// callers using `weft_client::auth::{...}` resolve symbols at the
20// same path the cli used internally pre-move.
21pub use device_flow as auth;
22pub use grpc_hosted::request_signing::{
23    HumanSignatureCallback, HumanSignatureRequest, WebAuthnAssertion,
24};
25pub use grpc_hosted::{HostedAuthMode, HostedGrpcClient, HostedSession};
26pub use presence::{
27    PublisherConfig, cmd_presence_publish, resolve_publisher_config, run_publisher,
28};
29pub use support::run as cmd_support;
30pub use support_requests::{SupportCommand, SupportGrant, SupportList, SupportRevoke};