pub struct RegistrationResult {
pub credential_id: String,
pub device_name: String,
pub attestation_format: String,
pub user_verified: bool,
}Expand description
Result of a successful registration.
The caller is responsible for persisting a WebauthnCredential built
from the verified credential ID and COSE public key extracted from the
authenticator data.
Fields§
§credential_id: StringThe credential ID that was registered (Base64url-encoded).
device_name: StringDevice name (from client or auto-generated).
attestation_format: StringAttestation format used (informational; not verified).
user_verified: boolWhether user verification was performed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegistrationResult
impl RefUnwindSafe for RegistrationResult
impl Send for RegistrationResult
impl Sync for RegistrationResult
impl Unpin for RegistrationResult
impl UnsafeUnpin for RegistrationResult
impl UnwindSafe for RegistrationResult
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