Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/modelcontextprotocol/python-sdk
/ valid_tokens
Function
valid_tokens
tests/client/test_auth.py:82–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
81
@pytest.fixture
82
def
valid_tokens():
83
return
OAuthToken(
84
access_token=
"test_access_token"
,
85
token_type=
"Bearer"
,
86
expires_in=3600,
87
refresh_token=
"test_refresh_token"
,
88
scope=
"read write"
,
89
)
90
91
92
@pytest.fixture
Callers
nothing calls this directly
Calls
1
OAuthToken
Class · 0.90
Tested by
no test coverage detected