Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, OAuth2WebServerFlow oauth_flow, DeviceFlowInfo device_flow_info) |
| None | async_set_listener (self, CALLBACK_TYPE update_callback) |
| None | async_start_exchange (self) |
| Credentials|None | creds (self) |
| str | user_code (self) |
| str | verification_url (self) |
Private Member Functions | |
| None | _async_poll_attempt (self, datetime.datetime now) |
| None | _async_timeout (self, datetime.datetime now) |
| Credentials | _exchange (self) |
| None | _finish (self) |
Private Attributes | |
| _creds | |
| _exchange_task_unsub | |
| _hass | |
| _listener | |
| _oauth_flow | |
| _timeout_unsub | |
| None homeassistant.components.google.api.DeviceFlow.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| OAuth2WebServerFlow | oauth_flow, | ||
| DeviceFlowInfo | device_flow_info | ||
| ) |
|
private |
|
private |
|
private |
|
private |
| None homeassistant.components.google.api.DeviceFlow.async_set_listener | ( | self, | |
| CALLBACK_TYPE | update_callback | ||
| ) |
| None homeassistant.components.google.api.DeviceFlow.async_start_exchange | ( | self | ) |
| Credentials | None homeassistant.components.google.api.DeviceFlow.creds | ( | self | ) |
| str homeassistant.components.google.api.DeviceFlow.user_code | ( | self | ) |
| str homeassistant.components.google.api.DeviceFlow.verification_url | ( | self | ) |
|
private |
|
private |
|
private |
|
private |
|
private |