Skip to main content

Authenticator

Trait Authenticator 

Source
pub trait Authenticator {
    // Required method
    fn authenticate(&self, context: &AuthContext) -> AuthDecision;
}
Expand description

Contract for runtime authenticators.

Required Methods§

Source

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".

Implementors§