Skip to content

Commit 98bf02d

Browse files
fix(oauth): expose OAuthTokenResponse publicly (#335)
1 parent 0e37736 commit 98bf02d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rmcp/src/transport/auth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ pub struct OAuthClientConfig {
120120

121121
// add type aliases for oauth2 types
122122
type OAuthErrorResponse = oauth2::StandardErrorResponse<oauth2::basic::BasicErrorResponseType>;
123-
type OAuthTokenResponse = StandardTokenResponse<EmptyExtraTokenFields, BasicTokenType>;
123+
pub type OAuthTokenResponse = StandardTokenResponse<EmptyExtraTokenFields, BasicTokenType>;
124124
type OAuthTokenIntrospection =
125125
oauth2::StandardTokenIntrospectionResponse<EmptyExtraTokenFields, BasicTokenType>;
126126
type OAuthRevocableToken = oauth2::StandardRevocableToken;

0 commit comments

Comments
 (0)