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