Releases: colyseus/colyseus-haxe
Releases · colyseus/colyseus-haxe
0.15.4
0.15.3
Overview for Auth API:
Define callback for Auth state change:
client.auth.onChange(function (authData) {
if (authData.user != null) {
// logged in!
} else {
// logged out!
}
});
Methods:
client.auth.getUserData()
client.auth.registerWithEmailAndPassword()
client.auth.signInWithEmailAndPassword()
client.auth.signInAnonymously()
client.auth.sendPasswordResetEmail()
client.auth.signOut()
- (❌ OAuth not yet implemented)
client.auth.signInWithProvider()
Example
client.auth.signInWithEmailAndPassword("[email protected]", "123456", function(err, authData) {
if (err != null) {
trace(err);
} else {
trace("TOKEN => " + authData.token);
trace("USER => " + authData.user);
}
})
0.15.2
add immediate mode for listen()
0.15.1
add only relevant files to final haxelib build colyseus/discussions#573
0.15.0
Merge branch '0.15'
0.14.10
bump version 0.14.10
0.14.9
bump version 0.14.9
0.14.8
bump version 0.14.8
0.14.7
closes #40
0.14.6
test #40 on a clean heaps project