Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation Class Reference
Inheritance diagram for homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation:
[legend]
Collaboration diagram for homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation:
[legend]

Public Member Functions

None __init__ (self, HomeAssistant hass, str domain, ClientCredential client_credential, AuthorizationServer authorization_server)
 
dict async_resolve_external_data (self, Any external_data)
 
dict[str, Any] extra_authorize_data (self)
 
- Public Member Functions inherited from homeassistant.components.application_credentials.AuthImplementation
str name (self)
 

Private Member Functions

dict _async_refresh_token (self, dict token)
 
dict _token_request (self, dict data)
 

Private Attributes

 _name
 

Detailed Description

Local OAuth2 implementation for Electric Kiwi.

Definition at line 19 of file oauth2.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation.__init__ (   self,
HomeAssistant  hass,
str  domain,
ClientCredential  client_credential,
AuthorizationServer  authorization_server 
)
Set up Electric Kiwi oauth.

Reimplemented from homeassistant.components.application_credentials.AuthImplementation.

Definition at line 22 of file oauth2.py.

Member Function Documentation

◆ _async_refresh_token()

dict homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation._async_refresh_token (   self,
dict  token 
)
private
Refresh tokens.

Definition at line 54 of file oauth2.py.

◆ _token_request()

dict homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation._token_request (   self,
dict  data 
)
private
Make a token request.

Definition at line 64 of file oauth2.py.

◆ async_resolve_external_data()

dict homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation.async_resolve_external_data (   self,
Any  external_data 
)
Initialize local Electric Kiwi auth implementation.

Definition at line 44 of file oauth2.py.

◆ extra_authorize_data()

dict[str, Any] homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation.extra_authorize_data (   self)
Extra data that needs to be appended to the authorize url.

Definition at line 40 of file oauth2.py.

Member Data Documentation

◆ _name

homeassistant.components.electric_kiwi.oauth2.ElectricKiwiLocalOAuth2Implementation._name
private

Definition at line 37 of file oauth2.py.


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