slim_auth/lib.rs
1// Copyright AGNTCY Contributors (https://github.com/agntcy)
2// SPDX-License-Identifier: Apache-2.0
3
4// Core modules available on every target
5pub mod auth_provider;
6pub mod errors;
7pub mod identity_claims;
8pub(crate) mod mac;
9pub mod metadata;
10pub mod shared_secret;
11pub mod traits;
12pub mod utils;
13
14// Native-only modules
15cfg_if::cfg_if! {
16if #[cfg(not(target_arch = "wasm32"))] {
17pub mod builder;
18pub mod file_watcher;
19pub mod jwt;
20pub mod jwt_middleware;
21pub mod oidc;
22pub mod refresh_token;
23pub mod resolver;
24#[cfg(not(target_family = "windows"))]
25pub mod spire;
26}}