pub struct DeviceAuthKeyMetadata {
pub record_identifier: String,
pub creation_date: DateTime<Utc>,
pub credential_id: Vec<u8>,
pub rp_id: String,
pub user_name: String,
pub user_handle: Vec<u8>,
pub user_display_name: String,
}Expand description
The metadata for the device auth key useful for looking up whether the authenticator can satisfy a given request before invoking user-verifying access control.
Fields§
§record_identifier: StringA unique identifier for the device auth key passkey. This can be used as a unique identifier in OS autofill stores.
creation_date: DateTime<Utc>Date the device auth key was created.
credential_id: Vec<u8>FIDO credential ID for the device auth key.
rp_id: StringWebAuthn RP ID for the device auth key.
user_name: StringThe login or username for user.
Corresponds to the [user.name] in the original WebAuthn request that created the credential.
user_handle: Vec<u8>The ID for the user.
Corresponds to the [user.id] in the original WebAuthn request that created the credential.
user_display_name: StringThe display name for the user
Corresponds to the [user.displayName] in the original WebAuthn request that created the credential.
Trait Implementations§
Source§impl<UT> ConvertError<UT> for DeviceAuthKeyMetadata
impl<UT> ConvertError<UT> for DeviceAuthKeyMetadata
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
Source§impl<UT> FfiConverter<UT> for DeviceAuthKeyMetadata
impl<UT> FfiConverter<UT> for DeviceAuthKeyMetadata
Source§const TYPE_ID_META: MetadataBuffer
const TYPE_ID_META: MetadataBuffer
Source§type FfiType = RustBuffer
type FfiType = RustBuffer
Source§fn lower(v: Self) -> RustBuffer
fn lower(v: Self) -> RustBuffer
Source§fn try_lift(buf: RustBuffer) -> Result<Self>
fn try_lift(buf: RustBuffer) -> Result<Self>
Source§impl<UT> Lift<UT> for DeviceAuthKeyMetadata
impl<UT> Lift<UT> for DeviceAuthKeyMetadata
Source§impl<UT> LiftRef<UT> for DeviceAuthKeyMetadata
impl<UT> LiftRef<UT> for DeviceAuthKeyMetadata
Source§impl<UT> LiftReturn<UT> for DeviceAuthKeyMetadata
impl<UT> LiftReturn<UT> for DeviceAuthKeyMetadata
Source§type ReturnType = <DeviceAuthKeyMetadata as Lift<UT>>::FfiType
type ReturnType = <DeviceAuthKeyMetadata as Lift<UT>>::FfiType
Source§fn try_lift_successful_return(v: Self::ReturnType) -> Result<Self>
fn try_lift_successful_return(v: Self::ReturnType) -> Result<Self>
§fn lift_foreign_return(
ffi_return: Self::ReturnType,
call_status: RustCallStatus,
) -> Self
fn lift_foreign_return( ffi_return: Self::ReturnType, call_status: RustCallStatus, ) -> Self
§fn lift_error(_buf: RustBuffer) -> Self
fn lift_error(_buf: RustBuffer) -> Self
§fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
Source§impl<UT> Lower<UT> for DeviceAuthKeyMetadata
impl<UT> Lower<UT> for DeviceAuthKeyMetadata
Source§impl<UT> LowerError<UT> for DeviceAuthKeyMetadata
impl<UT> LowerError<UT> for DeviceAuthKeyMetadata
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Source§impl<UT> LowerReturn<UT> for DeviceAuthKeyMetadata
impl<UT> LowerReturn<UT> for DeviceAuthKeyMetadata
Source§type ReturnType = <DeviceAuthKeyMetadata as Lower<UT>>::FfiType
type ReturnType = <DeviceAuthKeyMetadata as Lower<UT>>::FfiType
Source§fn lower_return(v: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(v: Self) -> Result<Self::ReturnType, RustCallError>
§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Source§impl<UT> TypeId<UT> for DeviceAuthKeyMetadata
impl<UT> TypeId<UT> for DeviceAuthKeyMetadata
const TYPE_ID_META: MetadataBuffer
Auto Trait Implementations§
impl Freeze for DeviceAuthKeyMetadata
impl RefUnwindSafe for DeviceAuthKeyMetadata
impl Send for DeviceAuthKeyMetadata
impl Sync for DeviceAuthKeyMetadata
impl Unpin for DeviceAuthKeyMetadata
impl UnsafeUnpin for DeviceAuthKeyMetadata
impl UnwindSafe for DeviceAuthKeyMetadata
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§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
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
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>
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>
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