Move DEFAULT_AUTHENTICATOR_TIMEOUT into webauthn-rs, and make authenticator_timeout a required parameter for webauthn_rs_core::Webauthn::unsafe_experts_only.
Moves default timeouts into our recommended interface, so that the value of that default isn't hidden behind internal interfaces.
Fixes a documentation build breakage caused by #385.
Changes the default timeout from 1 minute to 5 minutes, per Webauthn-3 recommendations.
Adds accessibility and UX concerns to the timeout documentation.
Add PhantomData to webauthn_authenticator_rs::stubs.
Sometime in the last few months, has been a change in Rust Nightly which makes unused type parameters a hard error when documenting; and we rely on Nightly for doc_cfg and doc_auto_cfg on docs.rs.
Fixes #
[x] cargo test has been run and passes
[x] documentation has been updated with relevant examples (if relevant)
Move
DEFAULT_AUTHENTICATOR_TIMEOUT
intowebauthn-rs
, and makeauthenticator_timeout
a required parameter forwebauthn_rs_core::Webauthn::unsafe_experts_only
.timeout
documentation.Add
PhantomData
towebauthn_authenticator_rs::stubs
.Sometime in the last few months, has been a change in Rust Nightly which makes unused type parameters a hard error when documenting; and we rely on Nightly for
doc_cfg
anddoc_auto_cfg
on docs.rs.Fixes #