Skip to content

Auth ​

Inherits: Node

Properties ​

NameTypeDefault
authenticatedboolfalse
connectionConnection
tokenString

Methods ​

ReturnsName
Variant_handle_message ( message: Variant )
void_init ( connection: Connection )
Auth.AuthErrorauthenticate ( token: String = <unknown> )
Varianton_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.