rskit-auth 0.2.0-alpha.1

JWT, OIDC, password hashing, and request-context auth helpers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! API key generation, hashing, validation, rotation with grace periods.

mod key;
mod middleware;
mod rotation;
mod store;

pub use key::{
    GenerateResult, Hasher, HashingConfig, Key, KeyValidationError, split_key, validate,
};
pub use middleware::{ApiKeyLayer, KeyValidator};
pub use rotation::{DEFAULT_GRACE_PERIOD, Manager, RotationConfig, RotationResult};
pub use store::Store;