Subclasses must override this to get basic information about the user. Should be a coroutine whose result is a dictionary containing information about the user, which may have been retrieved by using ``access_token`` to make a request to the service.
(
self, access_token: Dict[str, Any]
)
| 486 | raise NotImplementedError() |
| 487 | |
| 488 | async def _oauth_get_user_future( |
| 489 | self, access_token: Dict[str, Any] |
| 490 | ) -> Dict[str, Any]: |
| 491 | """Subclasses must override this to get basic information about the |
| 492 | user. |
| 493 | |
| 494 | Should be a coroutine whose result is a dictionary |
| 495 | containing information about the user, which may have been |
| 496 | retrieved by using ``access_token`` to make a request to the |
| 497 | service. |
| 498 | |
| 499 | The access token will be added to the returned dictionary to make |
| 500 | the result of `get_authenticated_user`. |
| 501 | |
| 502 | .. versionchanged:: 5.1 |
| 503 | |
| 504 | Subclasses may also define this method with ``async def``. |
| 505 | |
| 506 | .. versionchanged:: 6.0 |
| 507 | |
| 508 | A synchronous fallback to ``_oauth_get_user`` was removed. |
| 509 | """ |
| 510 | raise NotImplementedError() |
| 511 | |
| 512 | def _oauth_request_parameters( |
| 513 | self, |
no outgoing calls
no test coverage detected