public async Task Login(string login, string phone)
 {
     var authData = _authDataProvider.GetAuthData();
     await _authApi.Register(new RegisterRequest
     {
         Login       = login,
         PhoneNumber = phone,
         Shared      = authData.Shared,
         SharedId    = authData.SharedId,
         DeviceId    = authData.DeviceId
     });
 }
Esempio n. 2
0
 public Task Register(string username, string password)
 {
     return(_authApi.Register(username, password, password));
 }