pub(crate) struct UserValidationMethodImpl<'a> {
authenticator: &'a Fido2Authenticator<'a>,
}
Fields§
§authenticator: &'a Fido2Authenticator<'a>
Trait Implementations§
Source§impl UserValidationMethod for UserValidationMethodImpl<'_>
impl UserValidationMethod for UserValidationMethodImpl<'_>
Source§type PasskeyItem = CipherViewContainer
type PasskeyItem = CipherViewContainer
The type of the passkey item that can be used to display additional information about the operation to the user.
Source§fn check_user<'a, 'life0, 'async_trait>(
&'life0 self,
hint: UIHint<'a, Self::PasskeyItem>,
presence: bool,
_verification: bool,
) -> Pin<Box<dyn Future<Output = Result<UserCheck, Ctap2Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn check_user<'a, 'life0, 'async_trait>(
&'life0 self,
hint: UIHint<'a, Self::PasskeyItem>,
presence: bool,
_verification: bool,
) -> Pin<Box<dyn Future<Output = Result<UserCheck, Ctap2Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
Check for the user’s presence and obtain consent for the operation. The operation may
also require the user to be verified. Read more
Source§fn is_presence_enabled<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_presence_enabled<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Indicates whether this type is capable of testing user presence.
Source§fn is_verification_enabled<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_verification_enabled<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Indicates that this type is capable of verifying the user within itself.
For example, devices with UI, biometrics fall into this category. Read more
Auto Trait Implementations§
impl<'a> Freeze for UserValidationMethodImpl<'a>
impl<'a> !RefUnwindSafe for UserValidationMethodImpl<'a>
impl<'a> Send for UserValidationMethodImpl<'a>
impl<'a> Sync for UserValidationMethodImpl<'a>
impl<'a> Unpin for UserValidationMethodImpl<'a>
impl<'a> !UnwindSafe for UserValidationMethodImpl<'a>
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more