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) |
| Resource | get_resource (self) |
Public Attributes | |
| oauth_session | |
Private Attributes | |
| _hass | |
Provide Google Mail authentication tied to an OAuth2 based config entry.
| None homeassistant.components.google_mail.api.AsyncConfigEntryAuth.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| config_entry_oauth2_flow.OAuth2Session | oauth2_session | ||
| ) |
| str homeassistant.components.google_mail.api.AsyncConfigEntryAuth.access_token | ( | self | ) |
| str homeassistant.components.google_mail.api.AsyncConfigEntryAuth.check_and_refresh_token | ( | self | ) |
| Resource homeassistant.components.google_mail.api.AsyncConfigEntryAuth.get_resource | ( | self | ) |
|
private |
| homeassistant.components.google_mail.api.AsyncConfigEntryAuth.oauth_session |