authenticateFeed

fun authenticateFeed(userId: String, authToken: String? = null, handler: AuthenticationHandler?)

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

userId

User ID to authenticate with. Refer to User.userId.

authToken

Auth token. It should not be saved on the client side. Set null if not used.

handler

Callback handler.


fun authenticateFeed(userId: String, authToken: String? = null, apiHost: String?, handler: AuthenticationHandler?)

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

userId

User ID to authenticate with. Refer to User.userId.

authToken

Auth token. It should not be saved on the client side. Set null if not used.

apiHost

Custom API Host. Internal use only.

handler

Callback handler.