authenticate
Authenticates to SendbirdChat with given User ID and auth token. This method is different from SendbirdChat.connect in that it doesn't create a websocket connection. This should be used in below cases: 1. If you want to use the interface provided by the FeedChannel only. 2. If you want to use chat interface prior to SendbirdChat.connect, i.e. SendbirdChat.getTotalUnreadMessageCount.
Since
4.17.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.
Authenticates to SendbirdChat with given User ID and auth token. This method is different from SendbirdChat.connect in that it doesn't create a websocket connection. This should be used in below cases: 1. If you want to use the interface provided by the FeedChannel only. 2. If you want to use chat interface prior to SendbirdChat.connect, i.e. SendbirdChat.getTotalUnreadMessageCount.
Since
4.17.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.
Authenticates to SendbirdChat with given User ID and auth token. This method is different from SendbirdChat.connect in that it doesn't create a websocket connection. This should be used in below cases: 1. If you want to use the interface provided by the FeedChannel only. 2. If you want to use chat interface prior to SendbirdChat.connect, i.e. SendbirdChat.getTotalUnreadMessageCount.
Since
4.24.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.
Auth token type. It should be one of AuthTokenType.
Callback handler.
Authenticates to SendbirdChat with given User ID and auth token. This method is different from SendbirdChat.connect in that it doesn't create a websocket connection. This should be used in below cases: 1. If you want to use the interface provided by the FeedChannel only. 2. If you want to use chat interface prior to SendbirdChat.connect, i.e. SendbirdChat.getTotalUnreadMessageCount.
Since
4.24.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.
Auth token type. It should be one of AuthTokenType.
Custom API Host. Internal use only.
Callback handler.