immersive-home/docs/reference/lib--home_apis--hass_ws--handlers--auth.md

68 lines
3.3 KiB
Markdown
Raw Permalink Normal View History

2024-03-16 19:45:43 +02:00
# Auth
**Inherits:** [RefCounted](https://docs.godotengine.org/de/4.x/classes/class_refcounted.html)
2024-03-16 19:45:43 +02:00
## Properties
2024-03-17 01:14:31 +02:00
| Name | Type | Default |
| ------------------------------------ | ----------------------------------------------------------------------- | ------- |
| [api](#prop-api) | [Hass](/reference/lib--home_apis--hass_ws--hass.html) | |
| [authenticated](#prop-authenticated) | [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) | `false` |
| [token](#prop-token) | [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) | |
| [url](#prop-url) | [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) | |
2024-03-16 19:45:43 +02:00
## Methods
| Returns | Name |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| void | [_init](#-init) ( hass: [Hass](/reference/lib--home_apis--hass_ws--hass.html), url: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html), token: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) ) |
| void | [handle_message](#handle-message) ( message: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) ) |
| void | [on_disconnect](#on-disconnect) ( ) |
## Signals
### on_authenticated ( ) {#on-authenticated}
No description provided yet.
2024-03-17 01:14:31 +02:00
## Constants
### HASS_API = `<Object>` {#const-HASS-API}
No description provided yet.
2024-03-16 19:45:43 +02:00
## Property Descriptions
2024-03-17 01:14:31 +02:00
### api: [Hass](/reference/lib--home_apis--hass_ws--hass.html) {#prop-api}
2024-03-16 19:45:43 +02:00
No description provided yet.
2024-03-17 01:14:31 +02:00
### authenticated: [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) {#prop-authenticated}
2024-03-16 19:45:43 +02:00
No description provided yet.
2024-03-17 01:14:31 +02:00
### token: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) {#prop-token}
2024-03-16 19:45:43 +02:00
No description provided yet.
2024-03-17 01:14:31 +02:00
### url: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) {#prop-url}
2024-03-16 19:45:43 +02:00
No description provided yet.
## Method Descriptions
2024-03-17 01:14:31 +02:00
### _init (hass: [Hass](/reference/lib--home_apis--hass_ws--hass.html) , url: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) , token: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) ) -> void {#-init}
2024-03-16 19:45:43 +02:00
No description provided yet.
2024-03-17 01:14:31 +02:00
### handle_message (message: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) ) -> void {#handle-message}
2024-03-16 19:45:43 +02:00
No description provided yet.
2024-03-17 01:14:31 +02:00
### on_disconnect ( ) -> void {#on-disconnect}
2024-03-16 19:45:43 +02:00
No description provided yet.