Enum kanidm_proto::v1::AuthCredential [−][src]
pub enum AuthCredential {
Anonymous,
Password(String),
Totp(u32),
Webauthn(PublicKeyCredential),
BackupCode(String),
}
Variants
Password(String)
Tuple Fields of Password
0: String
Totp(u32)
Tuple Fields of Totp
0: u32
BackupCode(String)
Tuple Fields of BackupCode
0: String
Trait Implementations
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 RefUnwindSafe for AuthCredential
impl Send for AuthCredential
impl Sync for AuthCredential
impl Unpin for AuthCredential
impl UnwindSafe for AuthCredential
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more