An API client used during the config flow with a fixed token.
Definition at line 30 of file api.py.
◆ __init__()
| None homeassistant.components.google_photos.api.AsyncConfigFlowAuth.__init__ |
( |
|
self, |
|
|
aiohttp.ClientSession |
websession, |
|
|
str |
token |
|
) |
| |
Initialize ConfigFlowAuth.
Definition at line 33 of file api.py.
◆ async_get_access_token()
| str homeassistant.components.google_photos.api.AsyncConfigFlowAuth.async_get_access_token |
( |
|
self | ) |
|
Return a valid access token.
Definition at line 42 of file api.py.
◆ _token
| homeassistant.components.google_photos.api.AsyncConfigFlowAuth._token |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/google_photos/api.py