mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
make kdfIterations nullable (#1169)
This commit is contained in:
parent
e79097603f
commit
dcfdc7d0ea
3 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ namespace Bit.Core.Abstractions
|
|||
Task<string> GetUserIdAsync();
|
||||
Task<bool> IsAuthenticatedAsync();
|
||||
Task ReplaceOrganizationsAsync(Dictionary<string, OrganizationData> organizations);
|
||||
Task SetInformationAsync(string userId, string email, KdfType kdf, int kdfIterations);
|
||||
Task SetInformationAsync(string userId, string email, KdfType kdf, int? kdfIterations);
|
||||
Task SetSecurityStampAsync(string stamp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@ namespace Bit.Core.Models.Response
|
|||
public string Key { get; set; }
|
||||
public string TwoFactorToken { get; set; }
|
||||
public KdfType Kdf { get; set; }
|
||||
public int KdfIterations { get; set; }
|
||||
public int? KdfIterations { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace Bit.Core.Services
|
|||
_tokenService = tokenService;
|
||||
}
|
||||
|
||||
public async Task SetInformationAsync(string userId, string email, KdfType kdf, int kdfIterations)
|
||||
public async Task SetInformationAsync(string userId, string email, KdfType kdf, int? kdfIterations)
|
||||
{
|
||||
_email = email;
|
||||
_userId = userId;
|
||||
|
|
Loading…
Reference in a new issue