Skip to main content

AuthenticationStrategy

Trait AuthenticationStrategy 

Source
pub trait AuthenticationStrategy<P>: Authenticator<Credential, P>
where P: Send,
{ // Required method fn strategy(&self) -> &AuthorizationName; }
Expand description

Named credential authenticator registered at the application composition root.

Required Methods§

Source

fn strategy(&self) -> &AuthorizationName

Returns the stable strategy identity.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§