Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, config_entry_oauth2_flow.OAuth2Session oauth2_session) |
| str | access_token (self) |
| str | check_and_refresh_token (self) |
| YouTube | get_resource (self) |
Public Attributes | |
| hass | |
| oauth_session | |
| youtube | |
Static Public Attributes | |
| None | |
Provide Google authentication tied to an OAuth2 based config entry.
| None homeassistant.components.youtube.api.AsyncConfigEntryAuth.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| config_entry_oauth2_flow.OAuth2Session | oauth2_session | ||
| ) |
| str homeassistant.components.youtube.api.AsyncConfigEntryAuth.access_token | ( | self | ) |
| str homeassistant.components.youtube.api.AsyncConfigEntryAuth.check_and_refresh_token | ( | self | ) |
| YouTube homeassistant.components.youtube.api.AsyncConfigEntryAuth.get_resource | ( | self | ) |
| homeassistant.components.youtube.api.AsyncConfigEntryAuth.hass |
|
static |
| homeassistant.components.youtube.api.AsyncConfigEntryAuth.oauth_session |
| homeassistant.components.youtube.api.AsyncConfigEntryAuth.youtube |