1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Authorization related middleware.
pub mod add_authorization;
pub mod async_require_authorization;
pub mod require_authorization;
#[doc(inline)]
pub use self::{
add_authorization::{AddAuthorization, AddAuthorizationLayer},
async_require_authorization::{
AsyncAuthorizeRequest, AsyncRequireAuthorization, AsyncRequireAuthorizationLayer,
},
require_authorization::{AuthorizeRequest, RequireAuthorization, RequireAuthorizationLayer},
};