hyperlane-plugin-auth 23.0.0

A zero-external-crypto-dependency authentication and RBAC plugin for the Hyperlane framework providing pure-Rust HS256 JWT with kid rotation, API key and HTTP Basic authenticators, extensible async Authenticator traits, and constant-time verification.
Documentation
1
2
3
4
5
use super::*;

/// Boxed `Send` future returned by an async [`Authenticator`].
pub type AuthFuture<'a> =
    Pin<Box<dyn Future<Output = Result<AuthPrincipal, AuthError>> + Send + 'a>>;