pub enum AuthEvent {
JwtValid,
JwtInvalid,
JwksRefreshSuccess,
JwksRefreshFailure,
OpaqueTokenValid,
OpaqueTokenInvalid,
}Expand description
Metrics tracking for auth events
This module provides a trait-based approach to metrics that can be
implemented with various backends (Prometheus, StatsD, etc.)
Auth event types for metrics tracking
Variants§
JwtValid
JWT validation succeeded
JwtInvalid
JWT validation failed
JwksRefreshSuccess
JWKS refresh succeeded
JwksRefreshFailure
JWKS refresh failed
OpaqueTokenValid
Opaque token validation succeeded
OpaqueTokenInvalid
Opaque token validation failed
Implementations§
Trait Implementations§
impl Copy for AuthEvent
impl Eq for AuthEvent
impl StructuralPartialEq for AuthEvent
Auto Trait Implementations§
impl Freeze for AuthEvent
impl RefUnwindSafe for AuthEvent
impl Send for AuthEvent
impl Sync for AuthEvent
impl Unpin for AuthEvent
impl UnwindSafe for AuthEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more