mirror of
https://github.com/bitwarden/mobile.git
synced 2025-02-27 03:01:56 +01:00
make kdfIterations nullable (#1169)
This commit is contained in:
parent
e79097603f
commit
dcfdc7d0ea
@ -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 New Issue
Block a user