Skip to content

Commit 7a17d8e

Browse files
refactor(webauthn): re-export ReqwestRelatedOriginsClient from related_origins
Mirror NoRelatedOriginsClient's placement: under the same feature gate, expose ReqwestRelatedOriginsClient (and HttpPolicy) at the related_origins module root so consumers do not need the http:: submodule path.
1 parent 969291c commit 7a17d8e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • libwebauthn/src/ops/webauthn/related_origins

libwebauthn/src/ops/webauthn/related_origins/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ use super::psl::PublicSuffixList;
1717
#[cfg(feature = "related-origins-client")]
1818
pub mod http;
1919

20+
#[cfg(feature = "related-origins-client")]
21+
pub use http::{HttpPolicy, ReqwestRelatedOriginsClient};
22+
2023
/// WebAuthn L3 §5.11 requires support for at least 5 registrable origin labels;
2124
/// we cap at exactly 5 to bound abuse surface.
2225
const MAX_REGISTRABLE_LABELS: usize = 5;

0 commit comments

Comments
 (0)