Skip to main content

oidc_caep_risc/
lib.rs

1// SPDX-FileCopyrightText: 2026 Iya CyberSecurity Solutions, LLC
2// SPDX-License-Identifier: MIT
3
4#[cfg(feature = "tokio")]
5mod async_api;
6mod b64;
7mod config;
8mod discovery;
9mod dpop;
10mod error;
11mod http;
12mod idtoken;
13mod keys;
14mod pkce;
15mod rp;
16mod ssf;
17mod value;
18
19pub use b64::{b64url_decode, b64url_encode};
20pub use config::{apply_defaults, check_redirect, is_loopback, read_config_file, resolve_config, Resolved};
21pub use discovery::DEFAULT_SCOPES;
22pub use dpop::{Dpop, DPOP_ALG};
23pub use error::OidcError;
24pub use idtoken::{hash_claim, validate_id_token};
25pub use pkce::{code_challenge_s256, random_token};
26pub use rp::{Access, AuthorizeOptions, EndSessionOptions, Login, MemorySessionStore, RelyingParty, SessionStore, SessionStoreStats, Transaction, DEFAULT_SESSION_MAX_ENTRIES, DEFAULT_SESSION_TTL_SEC, SESSION_REFRESH_MARGIN_SEC};
27pub use ssf::{subject_of, verify_compact_jws, Event, ReceiverHealth, ReceiverOptions, SignalEvent, SignalsReceiver};
28pub use value::JsonMap;
29
30#[cfg(test)]
31mod profile_test;
32#[cfg(test)]
33mod proxy_gaps_test;
34#[cfg(test)]
35mod suite;
36#[cfg(test)]
37mod trust_chain_test;