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