axum_gate/
prelude.rs

1//! Common types and functions for quick imports.
2
3#[cfg(feature = "server")]
4mod server_impl {
5    pub use crate::authz::AccessPolicy;
6    pub use crate::codecs::jwt::{JsonWebToken, JsonWebTokenOptions, JwtClaims, RegisteredClaims};
7    pub use crate::cookie_template::CookieTemplate;
8    pub use crate::gate::Gate;
9}
10
11#[cfg(feature = "server")]
12pub use server_impl::*;
13
14pub use crate::accounts::Account;
15pub use crate::credentials::Credentials;
16pub use crate::groups::Group;
17pub use crate::permissions::{PermissionId, Permissions};
18pub use crate::roles::Role;