MCPcopy Create free account
hub / github.com/authlib/authlib / expires_in

Function expires_in

authlib/integrations/flask_oauth2/authorization_server.py:148–149  ·  view source on GitHub ↗
(client, grant_type)

Source from the content-addressed store, hash-verified

146 data.update(expires_in_conf)
147
148 def expires_in(client, grant_type):
149 return data.get(grant_type, BearerTokenGenerator.DEFAULT_EXPIRES_IN)
150
151 return expires_in
152

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected