mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +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<string> GetUserIdAsync();
|
||||||
Task<bool> IsAuthenticatedAsync();
|
Task<bool> IsAuthenticatedAsync();
|
||||||
Task ReplaceOrganizationsAsync(Dictionary<string, OrganizationData> organizations);
|
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);
|
Task SetSecurityStampAsync(string stamp);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -19,6 +19,6 @@ namespace Bit.Core.Models.Response
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
public string TwoFactorToken { get; set; }
|
public string TwoFactorToken { get; set; }
|
||||||
public KdfType Kdf { 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;
|
_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;
|
_email = email;
|
||||||
_userId = userId;
|
_userId = userId;
|
||||||
|
|
Loading…
Reference in a new issue