Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/authlib/authlib
/ _query_refresh_token
Function
_query_refresh_token
authlib/integrations/django_oauth2/endpoints.py:52–56 ·
view source on GitHub ↗
(token_model, token)
Source
from the content-addressed store, hash-verified
50
51
52
def
_query_refresh_token(token_model, token):
53
try
:
54
return
token_model.objects.get(refresh_token=token)
55
except
token_model.DoesNotExist:
56
return
None
Callers
1
query_token
Method · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected