Enum kanidm_proto::v1::AuthMech
source · pub enum AuthMech {
Anonymous,
Password,
PasswordBackupCode,
PasswordTotp,
PasswordSecurityKey,
Passkey,
}
Expand description
The mechanisms that may proceed in this authentication
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AuthMech
impl<'de> Deserialize<'de> for AuthMech
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
source§impl Ord for AuthMech
impl Ord for AuthMech
source§impl PartialOrd for AuthMech
impl PartialOrd for AuthMech
source§impl<'__s> ToSchema<'__s> for AuthMech
impl<'__s> ToSchema<'__s> for AuthMech
impl Eq for AuthMech
Auto Trait Implementations§
impl Freeze for AuthMech
impl RefUnwindSafe for AuthMech
impl Send for AuthMech
impl Sync for AuthMech
impl Unpin for AuthMech
impl UnwindSafe for AuthMech
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.