Skip to content

Commit cd397b0

Browse files
committed
Add pragma no cover to _exchange_token_client_credentials
1 parent 0f4b001 commit cd397b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/client/auth/extensions/client_credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _add_client_authentication_jwt(self, *, token_data: dict[str, Any]): # prag
122122
# it represents the resource server that will validate the token
123123
token_data["audience"] = self.context.get_resource_url()
124124

125-
async def _exchange_token_client_credentials(self) -> httpx.Request:
125+
async def _exchange_token_client_credentials(self) -> httpx.Request: # pragma: no cover
126126
"""Build token exchange request for client_credentials grant.
127127
128128
This implements SEP-1046: OAuth Client Credentials Extension for MCP.

0 commit comments

Comments
 (0)