BasicAuthDepotExt

Trait BasicAuthDepotExt 

Source
pub trait BasicAuthDepotExt {
    // Required method
    fn basic_auth_username(&self) -> Option<&str>;
}
Expand description

Extension trait for retrieving the authenticated username from a Depot.

Required Methods§

Source

fn basic_auth_username(&self) -> Option<&str>

Returns the authenticated username if authentication was successful.

Implementors§