Skip to content

Commit 6d1305d

Browse files
committed
merge with recent branch
1 parent 1329ab7 commit 6d1305d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/mcp/client/auth.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,13 @@ def __init__(
695695
resource: str | None = None,
696696
timeout: float = 300.0,
697697
):
698+
"""Create a new token exchange provider.
699+
700+
Parameters are forwarded to ClientCredentialsProvider for
701+
client authentication. The resource parameter binds issued tokens to
702+
the target resource as defined by RFC 8707.
703+
"""
704+
698705
super().__init__(server_url, client_metadata, storage, resource, timeout)
699706
self.subject_token_supplier = subject_token_supplier
700707
self.subject_token_type = subject_token_type

0 commit comments

Comments
 (0)