Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation Class Reference
Inheritance diagram for homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation:
[legend]
Collaboration diagram for homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation:
[legend]

Public Member Functions

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

Private Member Functions

dict _async_refresh_token (self, dict token)
 

Detailed Description

Local OAuth2 implementation for Geocaching.

Definition at line 17 of file oauth.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation.__init__ (   self,
HomeAssistant  hass,
str  auth_domain,
ClientCredential  credential 
)
Local Geocaching Oauth Implementation.

Definition at line 20 of file oauth.py.

Member Function Documentation

◆ _async_refresh_token()

dict homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation._async_refresh_token (   self,
dict  token 
)
private
Refresh tokens.

Definition at line 55 of file oauth.py.

◆ async_resolve_external_data()

dict homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation.async_resolve_external_data (   self,
Any  external_data 
)
Initialize local Geocaching API auth implementation.

Definition at line 42 of file oauth.py.

◆ extra_authorize_data()

dict homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation.extra_authorize_data (   self)
Extra data that needs to be appended to the authorize url.

Definition at line 38 of file oauth.py.


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