Skip to content

Commit

Permalink
Merge branch 'dev' into feat/VCST-1855
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev authored Oct 21, 2024
2 parents 23230f5 + 840d0f9 commit fbd9cf8
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>3.856.0</VersionPrefix>
<VersionPrefix>3.857.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<NoWarn>$(NoWarn);S3875;S4457</NoWarn>
Expand Down
29 changes: 17 additions & 12 deletions module.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ Azure.Messaging.EventGrid.dll
Azure.Security.KeyVault.Secrets.dll
Dapper.dll
DnsClient.dll
dotnet-swagger.dll
EntityFrameworkCore.Triggers.dll
FluentValidation.dll
Hangfire.AspNetCore.dll
Hangfire.Console.dll
Hangfire.Core.dll
Hangfire.Core.resources.dll
Hangfire.MemoryStorage.dll
Hangfire.MySql.dll
Hangfire.NetCore.dll
Expand All @@ -36,9 +34,6 @@ Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
Microsoft.AspNetCore.JsonPatch.dll
Microsoft.AspNetCore.Metadata.dll
Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
Microsoft.AspNetCore.Server.Kestrel.Https.dll
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.dll
Microsoft.AspNetCore.SignalR.Client.Core.dll
Microsoft.AspNetCore.SignalR.Client.dll
Microsoft.AspNetCore.SignalR.Common.dll
Expand All @@ -50,6 +45,7 @@ Microsoft.Azure.SignalR.Common.dll
Microsoft.Azure.SignalR.dll
Microsoft.Azure.SignalR.Protocols.dll
Microsoft.Bcl.AsyncInterfaces.dll
Microsoft.Bcl.TimeProvider.dll
Microsoft.CodeAnalysis.CSharp.dll
Microsoft.CodeAnalysis.CSharp.resources.dll
Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Expand All @@ -66,20 +62,28 @@ Microsoft.EntityFrameworkCore.Design.dll
Microsoft.EntityFrameworkCore.dll
Microsoft.EntityFrameworkCore.Relational.dll
Microsoft.EntityFrameworkCore.SqlServer.dll
Microsoft.Extensions.Caching.Memory.dll
Microsoft.Extensions.AmbientMetadata.Application.dll
Microsoft.Extensions.Compliance.Abstractions.dll
Microsoft.Extensions.Configuration.AzureAppConfiguration.dll
Microsoft.Extensions.Configuration.Binder.dll
Microsoft.Extensions.DependencyInjection.Abstractions.dll
Microsoft.Extensions.DependencyInjection.dll
Microsoft.Extensions.DependencyInjection.AutoActivation.dll
Microsoft.Extensions.DependencyModel.dll
Microsoft.Extensions.DiagnosticAdapter.dll
Microsoft.Extensions.Diagnostics.ExceptionSummarization.dll
Microsoft.Extensions.Features.dll
Microsoft.Extensions.Http.Diagnostics.dll
Microsoft.Extensions.Http.Polly.dll
Microsoft.Extensions.Http.Resilience.dll
Microsoft.Extensions.Identity.Core.dll
Microsoft.Extensions.Identity.Stores.dll
Microsoft.Extensions.Logging.Abstractions.dll
Microsoft.Extensions.Logging.AzureAppServices.dll
Microsoft.Extensions.ObjectPool.dll
Microsoft.Extensions.Options.dll
Microsoft.Extensions.PlatformAbstractions.dll
Microsoft.Extensions.Resilience.dll
Microsoft.Extensions.Telemetry.Abstractions.dll
Microsoft.Extensions.Telemetry.dll
Microsoft.Identity.Client.dll
Microsoft.Identity.Client.Extensions.Msal.dll
Microsoft.IdentityModel.Abstractions.dll
Expand All @@ -88,10 +92,12 @@ Microsoft.IdentityModel.Logging.dll
Microsoft.IdentityModel.Protocols.dll
Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
Microsoft.IdentityModel.Tokens.dll
Microsoft.IdentityModel.Validators.dll
Microsoft.IO.RecyclableMemoryStream.dll
Microsoft.Net.Http.Headers.dll
Microsoft.NET.StringTools.dll
Microsoft.OpenApi.dll
Microsoft.SqlServer.Server.dll
Microsoft.VisualStudio.Web.BrowserLink.dll
Microsoft.Win32.SystemEvents.dll
Mono.TextTemplating.dll
MySqlConnector.dll
Expand Down Expand Up @@ -124,7 +130,9 @@ package-lock.json
Pipelines.Sockets.Unofficial.dll
Polly.Core.dll
Polly.dll
Polly.Extensions.dll
Polly.Extensions.Http.dll
Polly.RateLimiting.dll
Pomelo.EntityFrameworkCore.MySql.dll
RedLockNet.Abstractions.dll
RedLockNet.SERedis.dll
Expand All @@ -139,7 +147,6 @@ Serilog.Settings.Configuration.dll
Serilog.Sinks.Console.dll
Serilog.Sinks.Debug.dll
Serilog.Sinks.File.dll
sni.dll
StackExchange.Redis.dll
Swashbuckle.AspNetCore.Annotations.dll
Swashbuckle.AspNetCore.Filters.Abstractions.dll
Expand All @@ -156,13 +163,11 @@ System.Composition.Hosting.dll
System.Composition.Runtime.dll
System.Composition.TypedParts.dll
System.Configuration.ConfigurationManager.dll
System.Data.SqlClient.dll
System.Drawing.Common.dll
System.IdentityModel.Tokens.Jwt.dll
System.IO.Abstractions.dll
System.Linq.Async.dll
System.Memory.Data.dll
System.Net.WebSockets.WebSocketProtocol.dll
System.Runtime.Caching.dll
System.Security.Cryptography.ProtectedData.dll
System.Security.Cryptography.Xml.dll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static bool IsExternalSignIn(this ClaimsPrincipal claimsPrincipal)

public static string GetAuthenticationMethod(this ClaimsPrincipal claimsPrincipal)
{
return claimsPrincipal?.GetClaim(ClaimTypes.AuthenticationMethod);
return claimsPrincipal?.FindFirstValue(ClaimTypes.AuthenticationMethod);
}

public static ClaimsPrincipal SetAuthenticationMethod(this ClaimsPrincipal claimsPrincipal, string value, IList<string> destinations)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="8.0.8" />
<PackageReference Include="Microsoft.IdentityModel.Validators" Version="8.1.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="5.8.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,10 @@ angular.module('platformWebApp')
};

authContext.logout = function () {
var extenralSignInData = externalSignInStorage.get();
if (extenralSignInData && extenralSignInData.providerType) {
var externalSignInData = externalSignInStorage.get();
if (externalSignInData && externalSignInData.providerType) {
externalSignInStorage.remove();
changeAuth({});
var url = 'externalsignin/signout?authenticationType=' + extenralSignInData.providerType;
$window.location.href = url;
$window.location.href = 'externalsignin/signout?authenticationType=' + externalSignInData.providerType;
}
else {
authDataStorage.clearStoredData();
Expand Down

0 comments on commit fbd9cf8

Please sign in to comment.