adapter-auth: JWT, OIDC, password hashing
This commit is contained in:
17
crates/adapters/auth/src/lib.rs
Normal file
17
crates/adapters/auth/src/lib.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
//! Auth adapter crate — JWT, OIDC, and password hashing.
|
||||
|
||||
pub mod password;
|
||||
|
||||
#[cfg(feature = "jwt")]
|
||||
pub mod jwt;
|
||||
|
||||
#[cfg(feature = "oidc")]
|
||||
pub mod oidc;
|
||||
|
||||
pub use password::PasswordAuthService;
|
||||
|
||||
#[cfg(feature = "jwt")]
|
||||
pub use jwt::{JwtClaims, JwtConfig, JwtError, JwtValidator};
|
||||
|
||||
#[cfg(feature = "oidc")]
|
||||
pub use oidc::{OidcService, OidcState, OidcUser};
|
||||
Reference in New Issue
Block a user