ic_auth_protocol_types/lib.rs
1//! Passive application-token contracts, independent of runtime and storage.
2//!
3//! Decoding these values does not verify a proof or establish authority. Hosts
4//! must obtain expected audience, caller, time and issuer policy independently.
5//! These tokens are not IC ingress delegations.
6
7mod common;
8mod identifiers;
9mod proof;
10mod token;
11
12pub use candid::Principal;
13pub use common::*;
14pub use identifiers::{AudienceId, AuthRole, CanonicalId, IdentifierError};
15pub use proof::*;
16pub use token::*;