/// <summary> /// Sends the token to "master" server to see if it's valid. If it is - /// callback will be invoked with peer id of the user, whos access was confirmed. /// This peer id can be used to retrieve users data from master server /// </summary> /// <param name="token"></param> /// <param name="callback"></param> public void ValidateAccess(string token, RoomAccessValidateCallback callback) { _roomsPlugin.ValidateAccess(RoomId, token, callback, Connection); }
/// <summary> /// Sends the token to "master" server to see if it's valid. If it is - /// callback will be invoked with peer id of the user, whos access was confirmed. /// This peer id can be used to retrieve users data from master server /// </summary> /// <param name="token"></param> /// <param name="callback"></param> public void ValidateAccess(string token, RoomAccessValidateCallback callback, ErrorCallback errorCallback) { _roomsPlugin.ValidateAccess(RoomId, token, callback, errorCallback); }