light_openid/lib.rs
1//! # Light OpenID
2//!
3//! Basic implementation of OpenID protocol, with primitives and basic client.
4//!
5//! See https://gitea.communiquons.org/pierre/oidc-test-client for an example of usage of this library
6
7use crate::errors::OpenIdError;
8
9pub mod client;
10pub mod errors;
11pub mod primitives;
12
13pub type Res<T = ()> = Result<T, OpenIdError>;
14
15#[cfg(feature = "crypto-wrapper")]
16mod time_utils;
17
18#[cfg(feature = "crypto-wrapper")]
19pub mod crypto_wrapper;
20
21#[cfg(feature = "crypto-wrapper")]
22pub mod basic_state_manager;