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;
12mod logout;
13mod portable;
14mod proof;
15
16pub use admission::AdmissionRefusal;
17pub use common::*;
18pub use ic_platform::Principal;
19pub use identifiers::{AudienceId, AuthRole, CanonicalId, IdentifierError};
20pub use logout::{LogoutRequest, LogoutResult, LogoutUnavailable};
21pub use portable::{PortableClaims, PortableCredential, PortableMechanism, PortableProof};
22pub use proof::*;