handleWithAuthInfo method

void handleWithAuthInfo(
  1. dynamic cb(
    1. String userId,
    2. String accessToken,
    3. String apiHost,
    4. String wsHost,
    )
)

Informs for user authentication.

Implements this method to get userId, accessToken, apiHost and wsHost from customer side. Then method will attempt to authenticate with given information.

Implementation

void handleWithAuthInfo(
    Function(String userId, String accessToken, String apiHost, String wsHost)
        cb) {}