pub trait Authenticator {
// Required method
fn authenticate(&self, context: &AuthContext) -> AuthDecision;
}Expand description
Contract for runtime authenticators.
Required Methods§
Sourcefn authenticate(&self, context: &AuthContext) -> AuthDecision
fn authenticate(&self, context: &AuthContext) -> AuthDecision
Authenticates one Runtime request context.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".