authenticate Feed
Deprecated
As of 4.17.0, use authenticate(userId: String, authToken: String?, handler: AuthenticationHandler?) instead.
Replace with
SendbirdChat.authenticate(userId, authToken, handler)
If you want to use the interface provided by the FeedChannel only, we'd recommend to authenticate using this function instead of SendbirdChat.connect.
Since
4.11.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.
Callback handler.
Deprecated
As of 4.17.0, use authenticate(userId: String, authToken: String?, apiHost: String?, handler: AuthenticationHandler?) instead.
Replace with
SendbirdChat.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.connect.
Since
4.11.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.
Callback handler.