pub trait Authenticator<C, P>: Send + Sync{
// Required method
fn authenticate(
&self,
credential: C,
) -> BoxFuture<'_, SoapResult<Authentication<P>>>;
}Expand description
Verifies one typed credential and returns an authenticated principal.
Required Methods§
Sourcefn authenticate(
&self,
credential: C,
) -> BoxFuture<'_, SoapResult<Authentication<P>>>
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".