pub enum AuthenticatorConfig {
Direct {
admins: Option<Vec<Admin>>,
},
UnixPeerCredentials {
admins: Option<Vec<Admin>>,
},
JwtSvid {
workload_endpoint: String,
admins: Option<Vec<Admin>>,
},
}Expand description
Authenticator configuration structure
Variants§
Direct
Direct authentication
UnixPeerCredentials
Unix Peer Credentials authentication
JwtSvid
JWT-SVID
Trait Implementations§
Source§impl Debug for AuthenticatorConfig
impl Debug for AuthenticatorConfig
Source§impl<'de> Deserialize<'de> for AuthenticatorConfig
impl<'de> Deserialize<'de> for AuthenticatorConfig
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 AuthenticatorConfig
impl RefUnwindSafe for AuthenticatorConfig
impl Send for AuthenticatorConfig
impl Sync for AuthenticatorConfig
impl Unpin for AuthenticatorConfig
impl UnwindSafe for AuthenticatorConfig
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