#[non_exhaustive]pub enum AuthStrength {
Bootstrap,
UserFresh,
}Expand description
How the principal’s identity was last asserted — bootstrap for tokens
minted off a camp’s long-lived bootstrap credential, user-fresh for
tokens minted within ~N minutes of a fresh passkey assertion.
Downstream services MAY require user-fresh for sensitive ops
(mirrors W127’s elevation pattern).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AuthStrength
impl Clone for AuthStrength
Source§fn clone(&self) -> AuthStrength
fn clone(&self) -> AuthStrength
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthStrength
Source§impl Debug for AuthStrength
impl Debug for AuthStrength
Source§impl<'de> Deserialize<'de> for AuthStrength
impl<'de> Deserialize<'de> for AuthStrength
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
impl Eq for AuthStrength
Source§impl PartialEq for AuthStrength
impl PartialEq for AuthStrength
Source§impl Serialize for AuthStrength
impl Serialize for AuthStrength
impl StructuralPartialEq for AuthStrength
Auto Trait Implementations§
impl Freeze for AuthStrength
impl RefUnwindSafe for AuthStrength
impl Send for AuthStrength
impl Sync for AuthStrength
impl Unpin for AuthStrength
impl UnsafeUnpin for AuthStrength
impl UnwindSafe for AuthStrength
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