pub enum ResidentKeyPolicy {
Required,
Preferred,
Discouraged,
}Expand description
Resident-key (discoverable credential) preference for registration
(WebAuthn L2/L3 residentKey).
This is a preference conveyed to the authenticator via ceremony options; the server cannot cryptographically verify discoverability from the response alone (see THREAT-MODEL.md).
Variants§
Required
The authenticator must create a discoverable credential.
Preferred
Ask for a discoverable credential, fall back to server-side ones (default).
Discouraged
Prefer server-side credentials.
Implementations§
Trait Implementations§
Source§impl Clone for ResidentKeyPolicy
impl Clone for ResidentKeyPolicy
Source§fn clone(&self) -> ResidentKeyPolicy
fn clone(&self) -> ResidentKeyPolicy
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 ResidentKeyPolicy
Source§impl Debug for ResidentKeyPolicy
impl Debug for ResidentKeyPolicy
Source§impl Default for ResidentKeyPolicy
impl Default for ResidentKeyPolicy
Source§fn default() -> ResidentKeyPolicy
fn default() -> ResidentKeyPolicy
Returns the “default value” for a type. Read more
impl Eq for ResidentKeyPolicy
Source§impl PartialEq for ResidentKeyPolicy
impl PartialEq for ResidentKeyPolicy
impl StructuralPartialEq for ResidentKeyPolicy
Auto Trait Implementations§
impl Freeze for ResidentKeyPolicy
impl RefUnwindSafe for ResidentKeyPolicy
impl Send for ResidentKeyPolicy
impl Sync for ResidentKeyPolicy
impl Unpin for ResidentKeyPolicy
impl UnsafeUnpin for ResidentKeyPolicy
impl UnwindSafe for ResidentKeyPolicy
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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