File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44//! Tracker keys are tokens used to authenticate the tracker clients when the tracker runs
55//! in `private` or `private_listed` modes.
66//!
7- //! There are services to [`generate `] and [`verify `] authentication keys.
7+ //! There are services to [`generate_key `] and [`verify_key `] authentication keys.
88//!
99//! Authentication keys are used only by [`HTTP`](crate::servers::http) trackers. All keys have an expiration time, that means
1010//! they are only valid during a period of time. After that time the expiring key will no longer be valid.
@@ -228,7 +228,7 @@ impl FromStr for Key {
228228}
229229
230230/// Verification error. Error returned when an [`PeerKey`] cannot be
231- /// verified with the [`verify(...) `](crate::core::auth::verify ) function.
231+ /// verified with the [`verify_key `](crate::core::auth::verify_key ) function.
232232#[ derive( Debug , Error ) ]
233233#[ allow( dead_code) ]
234234pub enum Error {
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ pub const MAX_SCRAPE_TORRENTS: u8 = 74;
1717
1818/// HTTP tracker authentication key length.
1919///
20- /// See function to [`generate `](crate::core::auth::generate) the
21- /// [`ExpiringKeys `](crate::core::auth::ExpiringKey) for more information .
20+ /// For more information see function [`generate_key `](crate::core::auth::generate_key) to generate the
21+ /// [`PeerKey `](crate::core::auth::PeerKey) .
2222pub const AUTH_KEY_LENGTH : usize = 32 ;
You can’t perform that action at this time.
0 commit comments