1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 23:33:34 +00:00

audit service

This commit is contained in:
Kyle Spearrin
2019-04-17 17:10:21 -04:00
parent 6d159740d9
commit 676e896d8c
5 changed files with 106 additions and 0 deletions

View File

@@ -261,6 +261,16 @@ namespace Bit.Core.Services
#endregion
#region HIBP APIs
public Task<List<BreachAccountResponse>> GetHibpBreachAsync(string username)
{
return SendAsync<object, List<BreachAccountResponse>>(HttpMethod.Get,
string.Concat("/hibp/breach?username=", username), null, true, true);
}
#endregion
#region Helpers
public async Task<string> GetActiveBearerTokenAsync()