Skip to main content

Crate ic_auth_wire

Crate ic_auth_wire 

Source
Expand description

Bounded authentication transport contracts. Decoding establishes no authority.

Hosts supply authenticated callers and implement the operations. This crate supplies neither endpoint installation nor session/revocation state.

Re-exports§

pub use model::SessionView;
pub use ic_wire as wire;

Modules§

model
Transport records and discriminants, kept distinct from engine decisions.
projection
Consuming projection from bounded Wire records to passive Auth values.

Structs§

CredentialEnvelope
Portable credential data envelope, not an issuer endpoint or signing format.
EstablishSession
Session admission transport; the host binds it to its authenticated update.
Logout
Request local logout for the authenticated caller only.
ReadSession
Read the authenticated caller’s local session without a submitted credential.
SessionInput
Unsigned session narrowing accompanying an opaque signed credential.

Constants§

BROWSER_DEFAULT_CREDENTIAL_BYTES
Default browser retention cap for a complete credential frame.
BROWSER_LOGOUT_RESPONSE_BYTES
Browser cap for a complete logout reply, independent of native codec limits.
BROWSER_MAX_CONFIGURED_CREDENTIAL_BYTES
Maximum configurable browser retention cap; codec limits still apply.