ic-auth 0.1.4

Application authentication protocol encoding and optional token and IC signature verification
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Pure application-token encoding and optional token/IC signature verification.
//!
//! Hashing untrusted material does not authenticate it. Applications must not
//! admit tokens by hashing them or checking just one signature. Use the optional
//! token verifier with protected host inputs; session admission and replay
//! consumption remain separate host operations.

pub mod canonical;

#[cfg(feature = "canister-signature-verification")]
pub mod canister_signature;

#[cfg(feature = "token-verification")]
pub mod token;