#[repr(u8)]pub enum AuthLevel {
None = 0,
Session = 1,
Fido = 2,
FidoPin = 3,
}Expand description
Authentication level required for operations
Variants§
None = 0
No authentication required (read-only operations)
Session = 1
Session token required (local writes)
Fido = 2
FIDO/WebAuthn required (mutations)
FidoPin = 3
FIDO + PIN required (admin operations)
Implementations§
Trait Implementations§
Source§impl Ord for AuthLevel
impl Ord for AuthLevel
Source§impl PartialOrd for AuthLevel
impl PartialOrd for AuthLevel
impl Copy for AuthLevel
impl Eq for AuthLevel
impl StructuralPartialEq for AuthLevel
Auto Trait Implementations§
impl Freeze for AuthLevel
impl RefUnwindSafe for AuthLevel
impl Send for AuthLevel
impl Sync for AuthLevel
impl Unpin for AuthLevel
impl UnsafeUnpin for AuthLevel
impl UnwindSafe for AuthLevel
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