auths-core 0.1.1

Core cryptography and keychain integration for Auths
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Pairing protocol facade — re-exports from `auths-pairing-protocol`
//! plus transport-specific QR rendering and error types.

mod error;
mod qr;

// Re-export protocol types
pub use auths_pairing_protocol::types;
pub use auths_pairing_protocol::{
    Base64UrlEncoded, CreateSessionRequest, CreateSessionResponse, CurveTag,
    GetConfirmationResponse, GetSessionResponse, PairingResponse, PairingSession, PairingToken,
    ProtocolError, SessionStatus, SubmitConfirmationRequest, SubmitResponseRequest,
    SuccessResponse, normalize_short_code,
};

// Local exports
pub use error::PairingError;
pub use qr::{QrOptions, format_pairing_qr, render_qr, render_qr_from_data};