Skip to content

Commit 649a75a

Browse files
committed
fix: doc links
1 parent 7609ba5 commit 649a75a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/rmcp/src/transport/auth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ pub struct StoredAuthorizationState {
138138
///
139139
/// # Accessing extra fields
140140
///
141-
/// Extra fields are available through [`OAuthTokenResponse::extra_fields`], which returns a
141+
/// Extra fields are available through [`StandardTokenResponse::extra_fields()`], which returns a
142142
/// reference to this struct. Use the inner map (`.0`) to look up individual fields by name:
143143
///
144144
/// ```rust,ignore
@@ -380,7 +380,7 @@ type OAuthErrorResponse = oauth2::StandardErrorResponse<oauth2::basic::BasicErro
380380
///
381381
/// # Accessing vendor-specific fields
382382
///
383-
/// Call [`extra_fields()`][oauth2::TokenResponse::extra_fields] to obtain a reference to the
383+
/// Call [`extra_fields()`][OAuthTokenResponse::extra_fields] to obtain a reference to the
384384
/// [`VendorExtraTokenFields`] wrapper, then index into its inner map.
385385
pub type OAuthTokenResponse = StandardTokenResponse<VendorExtraTokenFields, BasicTokenType>;
386386
type OAuthTokenIntrospection =

0 commit comments

Comments
 (0)