1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-11 04:53:52 +00:00

identity server client for auth

This commit is contained in:
Kyle Spearrin
2017-05-06 20:20:57 -04:00
parent 7117f00480
commit d1cf6c68f3
15 changed files with 84 additions and 23 deletions

View File

@@ -55,7 +55,7 @@ namespace Bit.App.Repositories
var deviceInfoService = Resolver.Resolve<IDeviceInfoService>();
var appIdService = Resolver.Resolve<IAppIdService>();
using(var client = HttpService.Client)
using(var client = HttpService.IdentityClient)
{
var requestMessage = new HttpRequestMessage
{
@@ -97,7 +97,7 @@ namespace Bit.App.Repositories
}
else if(TokenService.TokenNeedsRefresh && !string.IsNullOrWhiteSpace(TokenService.RefreshToken))
{
using(var client = HttpService.Client)
using(var client = HttpService.IdentityClient)
{
var requestMessage = new HttpRequestMessage
{