Browse Source

Remove invalid references to Windows in code comments present in the system integration package

pull/1944/head
Kévin Chalet 3 years ago
parent
commit
0658668e24
  1. 10
      src/OpenIddict.Client.SystemIntegration/OpenIddictClientSystemIntegrationHandlers.cs

10
src/OpenIddict.Client.SystemIntegration/OpenIddictClientSystemIntegrationHandlers.cs

@ -794,8 +794,8 @@ public static partial class OpenIddictClientSystemIntegrationHandlers
} }
/// <summary> /// <summary>
/// Contains the logic responsible for redirecting the Windows protocol activation /// Contains the logic responsible for redirecting the protocol activation to
/// to the instance that initially started the authentication demand, if applicable. /// the instance that initially started the authentication demand, if applicable.
/// Note: this handler is not used when the OpenID Connect request is not a protocol activation. /// Note: this handler is not used when the OpenID Connect request is not a protocol activation.
/// </summary> /// </summary>
public sealed class RedirectProtocolActivation : IOpenIddictClientHandler<ProcessAuthenticationContext> public sealed class RedirectProtocolActivation : IOpenIddictClientHandler<ProcessAuthenticationContext>
@ -919,9 +919,9 @@ public static partial class OpenIddictClientSystemIntegrationHandlers
Debug.Assert(!string.IsNullOrEmpty(context.Nonce), SR.GetResourceString(SR.ID4019)); Debug.Assert(!string.IsNullOrEmpty(context.Nonce), SR.GetResourceString(SR.ID4019));
// Ensure the authentication demand is tracked by the OpenIddict client Windows marshal // Ensure the authentication demand is tracked by the OpenIddict client system integration
// and resolve the corresponding request forgery protection. If it can't be found, this may // marshal and resolve the corresponding request forgery protection. If it can't be found,
// indicate a session fixation attack: in this case, reject the authentication demand. // this may indicate a session fixation attack: in this case, reject the authentication demand.
if (!_marshal.TryGetRequestForgeryProtection(context.Nonce, out string? protection)) if (!_marshal.TryGetRequestForgeryProtection(context.Nonce, out string? protection))
{ {
context.Reject( context.Reject(

Loading…
Cancel
Save