View to issue tokens.
Definition at line 238 of file __init__.py.
◆ __init__()
| None homeassistant.components.auth.TokenView.__init__ |
( |
|
self, |
|
|
RetrieveResultType |
retrieve_auth |
|
) |
| |
Initialize the token view.
Definition at line 246 of file __init__.py.
◆ _async_handle_auth_code()
| web.Response homeassistant.components.auth.TokenView._async_handle_auth_code |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
MultiDictProxy[str] |
data, |
|
|
web.Request |
request |
|
) |
| |
|
private |
Handle authorization code request.
Definition at line 277 of file __init__.py.
◆ _async_handle_refresh_token()
| web.Response homeassistant.components.auth.TokenView._async_handle_refresh_token |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
MultiDictProxy[str] |
data, |
|
|
web.Request |
request |
|
) |
| |
|
private |
Handle refresh token request.
Definition at line 345 of file __init__.py.
◆ post()
| web.Response homeassistant.components.auth.TokenView.post |
( |
|
self, |
|
|
web.Request |
request |
|
) |
| |
◆ _retrieve_auth
| homeassistant.components.auth.TokenView._retrieve_auth |
|
private |
◆ cors_allowed
| bool homeassistant.components.auth.TokenView.cors_allowed = True |
|
static |
◆ name
| string homeassistant.components.auth.TokenView.name = "api:auth:token" |
|
static |
◆ requires_auth
| bool homeassistant.components.auth.TokenView.requires_auth = False |
|
static |
◆ url
| string homeassistant.components.auth.TokenView.url = "/auth/token" |
|
static |
The documentation for this class was generated from the following file: