mirror of
https://github.com/bitwarden/ios.git
synced 2026-06-19 22:34:18 -05:00
17 lines
759 B
Swift
17 lines
759 B
Swift
/// WebAuthn PRF input values.
|
|
///
|
|
/// For historical reasons, this is named with the Authentication prefix, even though it may be used on registration.
|
|
///
|
|
/// [Link to specification](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsprfvalues)
|
|
struct WebAuthnAuthenticationExtensionsPRFValues: Codable, Equatable, Hashable, Sendable {
|
|
/// A salt to use when evaluating the PRF.
|
|
///
|
|
/// [Link to specification](https://www.w3.org/TR/webauthn-3/#dom-authenticationextensionsprfvalues-first)
|
|
let first: String
|
|
|
|
/// An additional salt to use when evaluating a second PRF output.
|
|
///
|
|
/// [Link to specification](https://www.w3.org/TR/webauthn-3/#dom-authenticationextensionsprfvalues-second)
|
|
let second: String?
|
|
}
|