pub struct UnsignedExtensionOutputs {
pub prf: Option<AuthenticatorPrfGetOutputs>,
}Expand description
A map, keyed by extension identifiers, to unsigned outputs of extensions, if any. Authenticators SHOULD omit this field if no processed extensions define unsigned outputs. Clients MUST treat an empty map the same as an omitted field.
Fields§
§prf: Option<AuthenticatorPrfGetOutputs>This output is supported in the Webauthn specification and will be used when the authenticator and the client are in memory or communicating through an internal channel.
If you are using transports where this needs to pass through a wire, use hmac-secret instead.
Implementations§
Source§impl UnsignedExtensionOutputs
impl UnsignedExtensionOutputs
Sourcepub fn zip_contents(self) -> Option<Self>
pub fn zip_contents(self) -> Option<Self>
Validates that there is at least one extension field that is Some.
If all fields are None then this returns None as well.
Trait Implementations§
Source§impl Debug for UnsignedExtensionOutputs
impl Debug for UnsignedExtensionOutputs
Source§impl Default for UnsignedExtensionOutputs
impl Default for UnsignedExtensionOutputs
Source§fn default() -> UnsignedExtensionOutputs
fn default() -> UnsignedExtensionOutputs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnsignedExtensionOutputs
impl<'de> Deserialize<'de> for UnsignedExtensionOutputs
Source§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
Auto Trait Implementations§
impl Freeze for UnsignedExtensionOutputs
impl RefUnwindSafe for UnsignedExtensionOutputs
impl Send for UnsignedExtensionOutputs
impl Sync for UnsignedExtensionOutputs
impl Unpin for UnsignedExtensionOutputs
impl UnwindSafe for UnsignedExtensionOutputs
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