Skip to content

Commit

Permalink
Update ADAL
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed May 13, 2019
1 parent a1245d1 commit 88087b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/SignService/Models/ADALSessionCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public void Load()
{
sessionLock.EnterReadLock();
//this.Deserialize((byte[])HttpContext.Current.Session[CacheId]);
Deserialize(httpContext.HttpContext.Session.Get(cacheId));
DeserializeAdalV3(httpContext.HttpContext.Session.Get(cacheId));

sessionLock.ExitReadLock();
}

Expand All @@ -52,7 +53,7 @@ public void Persist()
HasStateChanged = false;

// Reflect changes in the persistent store
httpContext.HttpContext.Session.Set(cacheId, this.Serialize());
httpContext.HttpContext.Session.Set(cacheId, this.SerializeAdalV3());
sessionLock.ExitWriteLock();
}

Expand Down
2 changes: 1 addition & 1 deletion src/SignService/SignService.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="NuGetKeyVaultSignTool.Core" Version="1.2.23" />
<PackageReference Include="RSAKeyVaultProvider" Version="1.1.22" />
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="4.5.1" />
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="5.0.5" />
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="2.4.3" />
<PackageReference Include="OpenVsixSignTool.Core" Version="0.3.2" />

Expand Down

0 comments on commit 88087b0

Please sign in to comment.