pub struct BasicAuthConfig {
pub credentials: Vec<String>,
pub bypass: Vec<RouteRuleConfig>,
}
Expand description
Configuration for the Basic Auth provider.
Fields§
§credentials: Vec<String>
List of valid username:password pairs.
bypass: Vec<RouteRuleConfig>
Routes to bypass authentication for.
Trait Implementations§
Source§impl Clone for BasicAuthConfig
impl Clone for BasicAuthConfig
Source§fn clone(&self) -> BasicAuthConfig
fn clone(&self) -> BasicAuthConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BasicAuthConfig
impl Debug for BasicAuthConfig
Source§impl<'de> Deserialize<'de> for BasicAuthConfig
impl<'de> Deserialize<'de> for BasicAuthConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BasicAuthConfig
impl RefUnwindSafe for BasicAuthConfig
impl Send for BasicAuthConfig
impl Sync for BasicAuthConfig
impl Unpin for BasicAuthConfig
impl UnwindSafe for BasicAuthConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more