Skip to main content

ic_auth_protocol_types/
lib.rs

1//! Passive authentication values. Valid shape never establishes authority.
2//!
3//! Labels and claim fields are unauthenticated data. Canonical encoding belongs
4//! to Auth; transport, proof verification, host policy and persistence are separate.
5
6mod claims;
7mod credential;
8mod delegation;
9mod role;
10mod scope;
11
12pub use claims::{
13    AudienceId, CanonicalId, DelegatedRoleGrant, MAX_TOKEN_EXT_BYTES, PortableClaims,
14    PortableMechanism,
15};
16pub use credential::{
17    CertifiedProofMaterial, Credential, CredentialProof, RootDelegation, RootSignatureMaterial,
18};
19pub use delegation::{
20    DelegationCertificate, DelegationLeaf, IssuerDelegation, MerkleStep, RootBatchHeader,
21};
22pub use ic_platform_types::Principal;
23pub use role::{AuthRole, RoleError};
24pub use scope::{ScopeLabel, ScopeLabelError};