030e59e
zhenyi
refactor(lib): migrate storage and security tier to central lib/config (auth, cache, db, email, jwt, payment, queue, rate_limit, storage)
030e59e
pub mod error;
pub mod features;
pub mod handler;
pub mod metrics;
pub mod pow;
pub use error::{AuthError, AuthResult};
pub use handler::router as auth_router;
pub use metrics::{
JwtPairKind, JwtRevokeKind, OAuthAuthorizeOutcome, OAuthCallbackOutcome, OAuthProvider,
OAuthResolutionBranch, PasswordOp, PasswordOpTimer, PowVerifyOutcome, Timer, ensure_described,
record_outcome,
};
pub use pow::{Challenge, PowError, PowService, Solution, VerifySolutionResult};