Skip to content

Commit 0fd94da

Browse files
committed
docs: Fix intradoc links to functions
1 parent 80045a4 commit 0fd94da

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/flows.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ impl AuthPromptData {
123123

124124
/// Sisu Auth callback trait
125125
///
126-
/// Used as an argument to [`XalAuthenticator.do_sisu_flow`](crate::XalAuthenticator#method.do_sisu_flow)
126+
/// Used as an argument to [`crate::flows::xbox_live_sisu_full_flow`]
127+
///
127128
///
128129
/// # Examples
129130
///

src/models.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub enum SigningAlgorithm {
5454
/// Signing policy for HTTP request signing
5555
///
5656
/// Info about used policy for domains / endpoints can be requested
57-
/// via [`XalAuthenticator.get_endpoints(&self)`](crate::XalAuthenticator#method.get_endpoints)
57+
/// via [`crate::request_signer::get_endpoints`].
5858
///
5959
/// Utilized by [`crate::RequestSigner`]
6060
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
@@ -99,7 +99,7 @@ pub mod request {
9999

100100
/// SISU Authentication request body
101101
///
102-
/// Used by [`XalAuthenticator.do_sisu_authentication(&mut self)`](crate::XalAuthenticator#method.do_sisu_authentication)
102+
/// Used by [`crate::XalAuthenticator::sisu_authenticate`]
103103
#[derive(Debug, Serialize, Deserialize)]
104104
#[serde(rename_all = "PascalCase")]
105105
pub struct SisuAuthenticationRequest<'a> {
@@ -123,7 +123,7 @@ pub mod request {
123123

124124
/// SISU Authorization request body
125125
///
126-
/// Used by [`XalAuthenticator.sisu_authorize(&mut self)`](crate::XalAuthenticator#method.sisu_authorize)
126+
/// Used by [`crate::XalAuthenticator::sisu_authorize`]
127127
#[derive(Debug, Serialize, Deserialize)]
128128
#[serde(rename_all = "PascalCase")]
129129
pub struct SisuAuthorizationRequest<'a> {
@@ -139,7 +139,7 @@ pub mod request {
139139
pub site_name: &'a str,
140140
/// Session Id
141141
///
142-
/// Received by previous call on [`XalAuthenticator`](crate::XalAuthenticator#method.sisu_authenticate)
142+
/// Received by previous call on [`crate::XalAuthenticator::sisu_authenticate`]
143143
#[serde(skip_serializing_if = "Option::is_none")]
144144
pub session_id: Option<String>,
145145
/// JWK proof key, related to HTTP request signing

src/request_signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub struct RequestSigner {
187187
pub keypair: SecretKey,
188188
/// Signing policy
189189
///
190-
/// Specific signing policies can be gathered by [`XalAuthenticator.get_endpoints(&self)`](crate::XalAuthenticator#method.get_endpoints)
190+
/// Specific signing policies can be gathered by [`get_endpoints`]
191191
pub signing_policy: models::SigningPolicy,
192192
}
193193

0 commit comments

Comments
 (0)