pub trait ServerAuthenticationProvider {
type Authentication;
// Required method
fn create(&self) -> Self::Authentication;
}Expand description
Factory creating one isolated authentication policy per connection.
Required Associated Types§
Sourcetype Authentication
type Authentication
Per-connection policy type.
Required Methods§
Sourcefn create(&self) -> Self::Authentication
fn create(&self) -> Self::Authentication
Creates a fresh policy instance.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".