MCPcopy 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
52def _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_tokenMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected