authenticate Feed
Deprecated
As of 4.17.0, replaced with awaitAuthenticate(userId, authToken, apiHost).
Replace with
awaitAuthenticate(userId, authToken, apiHost)
If you want to use the interface provided by the FeedChannel only, we'd recommend to authenticate using this function instead of SendbirdChat.awaitConnect.
Return
The AuthUser object of the current user and the socket connection state.
Since
4.15.0
Parameters
User
ID to authenticate with. Refer to User.userId.
Auth token. It should not be saved on the client side. Set null if not used.
Custom API Host. Internal use only.
Deprecated
As of 4.17.0, replaced with authenticate(userId, authToken, apiHost, handler).
Replace with
authenticate(userId, authToken, apiHost, handler)
If you want to use the interface provided by the FeedChannel only, we'd recommend to authenticate using this function instead of SendbirdChat.awaitConnect.
Since
4.15.0
Parameters
User
ID to authenticate with. Refer to User.userId.
Auth token. It should not be saved on the client side. Set null if not used.
Custom API Host. Internal use only.