Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
41
def
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_authorize
Function · 0.85
fake_send
Function · 0.85
test_oauth2_authorize_code_verifier
Function · 0.85
test_openid_authorize
Function · 0.85
test_oauth2_access_token_with_post
Function · 0.85
fetch_token
Function · 0.85
test_parse_id_token
Function · 0.85
test_runtime_error_fetch_jwks_uri
Function · 0.85
test_force_fetch_jwks_uri
Function · 0.85
test_oauth2_authorize
Function · 0.85
test_oauth2_authorize_csrf_with_cache
Function · 0.85
test_oauth2_authorize_access_denied
Function · 0.85
Calls
no outgoing calls
Tested by
15
test_oauth2_authorize
Function · 0.68
fake_send
Function · 0.68
test_oauth2_authorize_code_verifier
Function · 0.68
test_openid_authorize
Function · 0.68
test_oauth2_access_token_with_post
Function · 0.68
fetch_token
Function · 0.68
test_parse_id_token
Function · 0.68
test_runtime_error_fetch_jwks_uri
Function · 0.68
test_force_fetch_jwks_uri
Function · 0.68
test_oauth2_authorize
Function · 0.68
test_oauth2_authorize_csrf_with_cache
Function · 0.68
test_oauth2_authorize_access_denied
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…