MCPcopy Index your code
hub / github.com/authlib/authlib / get_bearer_token

Function get_bearer_token

tests/clients/util.py:41–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40
41def get_bearer_token():
42 return {
43 "token_type": "Bearer",
44 "access_token": "a",
45 "refresh_token": "b",
46 "expires_in": "3600",
47 "expires_at": int(time.time()) + 3600,
48 }

Callers 15

test_oauth2_authorizeFunction · 0.85
fake_sendFunction · 0.85
test_openid_authorizeFunction · 0.85
fetch_tokenFunction · 0.85
test_parse_id_tokenFunction · 0.85
test_oauth2_authorizeFunction · 0.85

Calls

no outgoing calls

Tested by 15

test_oauth2_authorizeFunction · 0.68
fake_sendFunction · 0.68
test_openid_authorizeFunction · 0.68
fetch_tokenFunction · 0.68
test_parse_id_tokenFunction · 0.68
test_oauth2_authorizeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…