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

Method should_slow_down

authlib/oauth2/rfc8628/device_code.py:180–185  ·  view source on GitHub ↗

The authorization request is still pending and polling should continue, but the interval MUST be increased by 5 seconds for this and all subsequent requests.

(self, credential)

Source from the content-addressed store, hash-verified

178 raise NotImplementedError()
179
180 def should_slow_down(self, credential):
181 """The authorization request is still pending and polling should
182 continue, but the interval MUST be increased by 5 seconds for this
183 and all subsequent requests.
184 """
185 raise NotImplementedError()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected