Pedro Henrique Linhares
1b6c5a7141
Set SASL username when using anonymous mechanism with auth_token ( #5025 )
2020-01-30 00:25:15 +00:00
Aaron van Meerten
5d86d202bd
initial session for bosh and websockets ( #5006 )
...
* hook on websocket events
* initial session for bosh and websockets
2020-01-24 14:59:29 +00:00
Aaron van Meerten
8d1d573266
updates bosh to support optional prefix
...
use optional prefix in poltergeist room lookup
2019-05-16 14:23:36 -05:00
damencho
98111c3593
On token verification failure return error, reason and stop processing.
...
This was broken with commit c1fb1a7def
, which splits the result in order to print the error reason and in case of error was not returning the error and the message to prosody internals.
2017-10-26 14:01:21 -05:00
damencho
c1fb1a7def
Installs required basexx when token package is installed. Fixes #1870 .
...
Adds some debug messages when token verification fails for some reason.
2017-08-08 23:13:25 +03:00
damencho
cc79b073f0
Fires event before setting username, allows listeners to override it.
...
This is a hook to override the username that will be used when authenticating token users (which are using anonymous login with auto-generated username).
2017-07-14 22:12:56 -05:00
damencho
599d84a889
Stores the room name from the bosh url into the session.
2017-07-14 22:08:41 -05:00
damencho
88a58a057e
Removes not needed parameter token in process_and_verify_token.
2017-05-08 11:23:13 -05:00
damencho
82b27b45fe
Moves token related code into util so it can be reused.
2017-05-08 11:23:13 -05:00
Saúl Ibarra Corretgé
b01ad360da
Move miscellaneous files to resources
2017-02-23 10:01:19 +01:00