Repository navigation
2.0.0-beta.4
Pre-release
Pre-release
·
497 commits
to main
since this release
This new beta release of the ably-python realtime client implements token authentication for realtime connections, allowing you to use all currently supported token options to authenticate a realtime client (auth_url, auth_callback, jwt, etc). The client will reauthenticate when the token expires or otherwise becomes invalid.
- Allow token auth methods for realtime constructor #425
- Send
AUTHprotocol message whenAuth.authorizecalled on realtime client #427 - Reauth upon inbound
AUTHprotocol message #428 - Handle connection request failure due to token error #445
- Handle token
ERRORresponse to a resume request #444 - Handle
DISCONNECTEDmessages containing token errors #443 - Pass
clientIdas query string param when opening a new connection #449 - Validate
clientIdinClientOptions#448 - Apply
Auth#clientIdonly after a realtime connection has been established #409 - Channels should transition to
INITIALIZEDifConnection.connectcalled from terminal state #411 - Calling connect while
CLOSINGshould start connect on a new transport #410 - Handle realtime channel errors #455