12 lines
667 B
C#
12 lines
667 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SharpChat.Users.Remote {
|
|
public interface IRemoteUserClient {
|
|
void AuthenticateUser(UserAuthRequest request, Action<IUserAuthResponse> onSuccess, Action<Exception> onFailure);
|
|
void BumpUsers(IEnumerable<UserBumpInfo> users, Action onSuccess, Action<Exception> onFailure);
|
|
void ResolveUser(long userId, Action<IRemoteUser> onSuccess, Action<Exception> onFailure);
|
|
void ResolveUser(string userName, Action<IRemoteUser> onSuccess, Action<Exception> onFailure);
|
|
void ResolveUser(IUser localUser, Action<IRemoteUser> onSuccess, Action<Exception> onFailure);
|
|
}
|
|
}
|