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;
16mod scope;
17
18pub use admission::{AdmissionRefusal, SessionReadRefusal};
19pub use common::*;
20pub use ic_platform::Principal;
21pub use identifiers::{AudienceId, AuthRole, CanonicalId, IdentifierError};
22pub use logout::{LogoutResult, LogoutUnavailable};
23pub use portable::{PortableClaims, PortableCredential, PortableMechanism, PortableProof};
24pub use proof::*;
25pub use scope::{ScopeLabel, ScopeLabelError};