Skip to content

Commit a565625

Browse files
committed
comments
1 parent 8080d87 commit a565625

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mcp/client/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def set_client_info(self, client_info: OAuthClientInformationFull) -> None
8181

8282
@dataclass
8383
class OAuthContext:
84-
"""Simplified OAuth flow context."""
84+
"""OAuth flow context."""
8585

8686
server_url: str
8787
client_metadata: OAuthClientMetadata
@@ -393,7 +393,7 @@ async def async_auth_flow(self, request: httpx.Request) -> AsyncGenerator[httpx.
393393
# Perform OAuth flow if not authenticated
394394
if not self.context.is_token_valid():
395395
try:
396-
# Execute OAuth flow inline to properly handle the generator
396+
# Execute OAuth flow inline to handle the generator
397397
# Step 1: Discover protected resource metadata (optional)
398398
discovery_request = await self._discover_protected_resource()
399399
discovery_response = yield discovery_request
@@ -439,7 +439,7 @@ async def async_auth_flow(self, request: httpx.Request) -> AsyncGenerator[httpx.
439439
# Refresh failed, need full re-authentication
440440
self._initialized = False
441441

442-
# Execute OAuth flow inline to properly handle the generator
442+
# Execute OAuth flow inline to handle the generator
443443
# Step 1: Discover protected resource metadata (optional)
444444
discovery_request = await self._discover_protected_resource()
445445
discovery_response = yield discovery_request

0 commit comments

Comments
 (0)