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

Public Member Functions

None __init__ (self, aiohttp.ClientSession websession, str token)
 
str async_get_access_token (self)
 

Private Attributes

 _token
 

Detailed Description

An API client used during the config flow with a fixed token.

Definition at line 30 of file api.py.

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ _token

homeassistant.components.google_photos.api.AsyncConfigFlowAuth._token
private

Definition at line 40 of file api.py.


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