Struct webauthn_rs::proto::CollectedClientData [−][src]
pub struct CollectedClientData { pub type_: String, pub challenge: Base64UrlSafeData, pub origin: String, pub cross_origin: Option<bool>, pub token_binding: Option<TokenBinding>, pub unknown_keys: BTreeMap<String, Value>, }
Expand description
The data collected and hashed in the operation. https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata
Fields
type_: String
The credential type
challenge: Base64UrlSafeData
The challenge.
origin: String
The rp origin as the browser understood it.
cross_origin: Option<bool>
The inverse of the sameOriginWithAncestors argument value that was passed into the internal method.
token_binding: Option<TokenBinding>
tokenBinding.
unknown_keys: BTreeMap<String, Value>
This struct be extended, so it’s important to be tolerant of unknown keys.
Trait Implementations
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
type Error = WebauthnError
type Error = WebauthnError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CollectedClientData
impl Send for CollectedClientData
impl Sync for CollectedClientData
impl Unpin for CollectedClientData
impl UnwindSafe for CollectedClientData
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V