Browse Source

Fix HasAppContainerToken() to use [SupportedOSPlatform] instead of [SupportedOSPlatformGuard]

pull/1676/head
Kévin Chalet 3 years ago
parent
commit
3ec44a3329
  1. 2
      src/OpenIddict.Client.Windows/OpenIddictClientWindowsHelpers.cs

2
src/OpenIddict.Client.Windows/OpenIddictClientWindowsHelpers.cs

@ -77,7 +77,7 @@ public static class OpenIddictClientWindowsHelpers
/// <see langword="true"/> if the specified identity contains an
/// AppContainer token, <see langword="false"/> otherwise.
/// </returns>
[SupportedOSPlatformGuard("windows10.0.17763")]
[SupportedOSPlatform("windows10.0.17763")]
internal static unsafe bool HasAppContainerToken(WindowsIdentity identity)
{
if (identity is null)

Loading…
Cancel
Save