Local OAuth2 implementation for Toon.
Definition at line 52 of file oauth2.py.
◆ __init__()
| None homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
str |
client_id, |
|
|
str |
client_secret, |
|
|
str |
name, |
|
|
str |
tenant_id, |
|
|
str | None |
issuer = None |
|
) |
| |
Local Toon Oauth Implementation.
Definition at line 55 of file oauth2.py.
◆ _async_refresh_token()
| dict homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation._async_refresh_token |
( |
|
self, |
|
|
dict |
token |
|
) |
| |
|
private |
◆ _token_request()
| dict homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation._token_request |
( |
|
self, |
|
|
dict |
data |
|
) |
| |
|
private |
Make a token request.
Definition at line 119 of file oauth2.py.
◆ async_resolve_external_data()
| dict homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation.async_resolve_external_data |
( |
|
self, |
|
|
Any |
external_data |
|
) |
| |
Initialize local Toon auth implementation.
Definition at line 93 of file oauth2.py.
◆ extra_authorize_data()
| dict homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation.extra_authorize_data |
( |
|
self | ) |
|
Extra data that needs to be appended to the authorize url.
Definition at line 84 of file oauth2.py.
◆ name()
| str homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation.name |
( |
|
self | ) |
|
Name of the implementation.
Definition at line 79 of file oauth2.py.
◆ _name
| homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation._name |
|
private |
◆ issuer
| homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation.issuer |
◆ tenant_id
| homeassistant.components.toon.oauth2.ToonLocalOAuth2Implementation.tenant_id |
The documentation for this class was generated from the following file: