ic_auth_protocol_types/lib.rs
1//! Passive portable authentication and delegation contracts, independent of runtime, storage and Candid.
2//! `Principal` is owned by IC Platform's explicit `principal` feature; external IC APIs convert at their boundary.
3//! Transport schemas belong to endpoint adapters, outside these domain contracts.
4//!
5//! Decoding these values does not verify a proof or establish authority. Hosts
6//! must obtain expected audience, caller, time and issuer policy independently.
7//! Application credentials are not IC ingress delegations.
8
9mod admission;
10mod common;
11mod identifiers;
12pub mod limits;
13mod logout;
14mod portable;
15mod proof;
16
17pub use admission::AdmissionRefusal;
18pub use common::*;
19pub use ic_platform::Principal;
20pub use identifiers::{AudienceId, AuthRole, CanonicalId, IdentifierError};
21pub use logout::{LogoutRequest, LogoutResult, LogoutUnavailable};
22pub use portable::{PortableClaims, PortableCredential, PortableMechanism, PortableProof};
23pub use proof::*;