From 98bf02df89961af695baabca11f00f52b5ee9b87 Mon Sep 17 00:00:00 2001 From: Brendan Graham Date: Tue, 29 Jul 2025 19:53:21 -0700 Subject: [PATCH] fix(oauth): expose OAuthTokenResponse publicly (#335) --- crates/rmcp/src/transport/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rmcp/src/transport/auth.rs b/crates/rmcp/src/transport/auth.rs index 6717a1e..7ae1d62 100644 --- a/crates/rmcp/src/transport/auth.rs +++ b/crates/rmcp/src/transport/auth.rs @@ -120,7 +120,7 @@ pub struct OAuthClientConfig { // add type aliases for oauth2 types type OAuthErrorResponse = oauth2::StandardErrorResponse; -type OAuthTokenResponse = StandardTokenResponse; +pub type OAuthTokenResponse = StandardTokenResponse; type OAuthTokenIntrospection = oauth2::StandardTokenIntrospectionResponse; type OAuthRevocableToken = oauth2::StandardRevocableToken;