Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google.api.ApiAuthImpl Class Reference
Inheritance diagram for homeassistant.components.google.api.ApiAuthImpl:
[legend]
Collaboration diagram for homeassistant.components.google.api.ApiAuthImpl:
[legend]

Public Member Functions

None __init__ (self, aiohttp.ClientSession websession, config_entry_oauth2_flow.OAuth2Session session)
 
str async_get_access_token (self)
 

Private Attributes

 _session
 

Detailed Description

Authentication implementation for google calendar api library.

Definition at line 188 of file api.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.google.api.ApiAuthImpl.__init__ (   self,
aiohttp.ClientSession  websession,
config_entry_oauth2_flow.OAuth2Session  session 
)
Init the Google Calendar client library auth implementation.

Definition at line 191 of file api.py.

Member Function Documentation

◆ async_get_access_token()

str homeassistant.components.google.api.ApiAuthImpl.async_get_access_token (   self)
Return a valid access token.

Definition at line 200 of file api.py.

Member Data Documentation

◆ _session

homeassistant.components.google.api.ApiAuthImpl._session
private

Definition at line 198 of file api.py.


The documentation for this class was generated from the following file: