Skip to main content

ServerAuthenticationProvider

Trait ServerAuthenticationProvider 

Source
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§

Source

type Authentication

Per-connection policy type.

Required Methods§

Source

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

Implementors§