Skip to content

Commit

Permalink
Make rk flag public
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Apr 24, 2024
1 parent c36419c commit feb047e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webauthn-rs-proto/src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,12 @@ impl From<web_sys::AuthenticationExtensionsClientOutputs>
/// <https://www.w3.org/TR/webauthn-3/#sctn-authenticator-credential-properties-extension>
#[derive(Debug, Deserialize, Serialize, Clone)]
pub struct CredProps {
rk: bool,
/// A user agent supplied hint that this credential *may* have created a resident key. It is
/// retured from the user agent, not the authenticator meaning that this is an unreliable
/// signal.
///
/// Note that this extension is UNSIGNED and may have been altered by page javascript.
pub rk: bool,
}

/// <https://w3c.github.io/webauthn/#dictdef-authenticationextensionsclientoutputs>
Expand Down

0 comments on commit feb047e

Please sign in to comment.