AuthenticationHandler

Trait AuthenticationHandler 

Source
pub trait AuthenticationHandler {
    // Required methods
    fn authentication(&self) -> Option<AuthenticationData>;
    fn set_authentication(&self, authentication: Option<&AuthenticationData>);
}
Expand description

Trait to access and share authentication data between filters.

Required Methods§

Source

fn authentication(&self) -> Option<AuthenticationData>

Get the current data regarding authentication.

Source

fn set_authentication(&self, authentication: Option<&AuthenticationData>)

Replace the authentication data.

Implementors§