authenticateFeed static method

Future<User> authenticateFeed(
  1. String userId, {
  2. String? accessToken,
  3. String? apiHost,
})

Authenticate with the Sendbird server. Calling this method will grant you access to Sendbird notification's features. If you want to access Sendbird Chat's features, call SendbirdChat.connect. You can deauthenticate from the Sendbird server by calling SendbirdChat.disconnect. @since 4.0.6

Implementation

static Future<User> authenticateFeed(
  String userId, {
  String? accessToken,
  String? apiHost,
}) async {
  sbLog.i(StackTrace.current, 'userId: $userId');

  return await _instance._chat.authenticateFeed(
    userId,
    accessToken: accessToken,
    apiHost: apiHost,
  );
}