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§
Sourcefn basic_auth_username(&self) -> Option<&str>
fn basic_auth_username(&self) -> Option<&str>
Returns the authenticated username if authentication was successful.