0.3.0
What's Changed
Breaking change! This release changes the semantics of working with connection tokens described in Centrifugo v5 release post.
Previously, returning an empty token string from ConnectionTokenGetter
callback resulted in client disconnection with unauthorized reason.
Now returning an empty string from ConnectionTokenGetter
is a valid scenario which won't result into disconnect on the client side. It's still possible to disconnect client by returning instance of a special UnauthorizedException
from ConnectionTokenGetter
.
And we are putting back SetToken
method to the SDK – so it's now possible to reset the token to be empty upon user logout.
Full Changelog: 0.2.8...0.3.0