Auth
Inherits: Node
Properties
| Name | Type | Default |
|---|---|---|
| authenticated | bool | false |
| connection | Connection | |
| token | String |
Methods
| Returns | Name |
|---|---|
| Variant | _handle_message ( message: Variant ) |
| void | _init ( connection: Connection ) |
| Auth.AuthError | authenticate ( token: String = <unknown> ) |
| Variant | on_disconnect ( ) |
Signals
_try_auth (success: bool )
No description provided yet.
on_authenticated ( )
No description provided yet.
Enums
enum AuthError
AuthError.OK = 0
No description provided yet.
AuthError.INVALID_TOKEN = 1
No description provided yet.
AuthError.TIMEOUT = 2
No description provided yet.
AuthError.UNKNOWN = 3
No description provided yet.
Constants
Connection = <Object>
No description provided yet.
Property Descriptions
authenticated: bool
No description provided yet.
connection: Connection
No description provided yet.
token: String
No description provided yet.
Method Descriptions
_handle_message (message: Variant ) -> Variant
No description provided yet.
_init (connection: Connection ) -> void
No description provided yet.
authenticate (token: String = <unknown> ) -> Auth.AuthError
No description provided yet.
on_disconnect ( ) -> Variant
No description provided yet.

