setUserTokens

fun setUserTokens(accessToken: String?, refreshToken: String?)

Sets the user's tokens.

Parameters

accessToken

The user's access token.

refreshToken

The user's refresh token.

Set the user's access and refresh tokens that are required for accessing streaming services. User tokens can be obtained by creating a user object from the backend api.