Skip to main content

Authenticator

Trait Authenticator 

Source
pub trait Authenticator<C, P>: Send + Sync
where C: Send, P: Send,
{ // Required method fn authenticate( &self, credential: C, ) -> BoxFuture<'_, SoapResult<Authentication<P>>>; }
Expand description

Verifies one typed credential and returns an authenticated principal.

Required Methods§

Source

fn authenticate( &self, credential: C, ) -> BoxFuture<'_, SoapResult<Authentication<P>>>

Authenticates a presented credential.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§