Session to make requests authenticated with OAuth2.
Definition at line 497 of file config_entry_oauth2_flow.py.
◆ __init__()
◆ async_ensure_token_valid()
| None homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.async_ensure_token_valid |
( |
|
self | ) |
|
◆ async_request()
| client.ClientResponse homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.async_request |
( |
|
self, |
|
|
str |
method, |
|
|
str |
url, |
|
|
**Any
|
kwargs |
|
) |
| |
◆ token()
| dict homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.token |
( |
|
self | ) |
|
◆ valid_token()
| bool homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.valid_token |
( |
|
self | ) |
|
◆ _token_lock
| homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session._token_lock |
|
private |
◆ config_entry
| homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.config_entry |
◆ hass
| homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.hass |
◆ implementation
| homeassistant.helpers.config_entry_oauth2_flow.OAuth2Session.implementation |
The documentation for this class was generated from the following file: