|
| string | name = "api:notify.html5/callback" |
| |
| bool | requires_auth = False |
| |
| string | url = "/api/notify.html5/callback" |
| |
Accepts push registrations from a browser.
Definition at line 304 of file notify.py.
◆ __init__()
| def homeassistant.components.html5.notify.HTML5PushCallbackView.__init__ |
( |
|
self, |
|
|
|
registrations |
|
) |
| |
Init HTML5PushCallbackView.
Definition at line 311 of file notify.py.
◆ check_authorization_header()
| def homeassistant.components.html5.notify.HTML5PushCallbackView.check_authorization_header |
( |
|
self, |
|
|
|
request |
|
) |
| |
Check the authorization header.
Definition at line 338 of file notify.py.
◆ decode_jwt()
| def homeassistant.components.html5.notify.HTML5PushCallbackView.decode_jwt |
( |
|
self, |
|
|
|
token |
|
) |
| |
Find the registration that signed this JWT and return it.
Definition at line 315 of file notify.py.
◆ post()
| def homeassistant.components.html5.notify.HTML5PushCallbackView.post |
( |
|
self, |
|
|
|
request |
|
) |
| |
Accept the POST request for push registrations event callback.
Definition at line 367 of file notify.py.
◆ name
| string homeassistant.components.html5.notify.HTML5PushCallbackView.name = "api:notify.html5/callback" |
|
static |
◆ registrations
| homeassistant.components.html5.notify.HTML5PushCallbackView.registrations |
◆ requires_auth
| bool homeassistant.components.html5.notify.HTML5PushCallbackView.requires_auth = False |
|
static |
◆ url
| string homeassistant.components.html5.notify.HTML5PushCallbackView.url = "/api/notify.html5/callback" |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/html5/notify.py