Waits for a single OAuth redirect callback using a local HTTP server. More...
Public Member Functions | |
| OAuthCallbackResult | wait_for_callback (self, *, Callable[[], bool] is_current=lambda:True) |
| Block until a callback, timeout, or cancellation. | |
Waits for a single OAuth redirect callback using a local HTTP server.
| OAuthCallbackResult oauth.oauth_redirect_server.OAuthRedirectServer.wait_for_callback | ( | self, | |
| * | , | ||
| Callable[[], bool] | is_current = lambda: True ) |
Block until a callback, timeout, or cancellation.
| is_current | Whether the owning authorization flow is still active. |