Browse Source

Fix the XML documentation associated with the AdjustRedirectUriInTokenRequest event handler

pull/2105/head
Kévin Chalet 2 years ago
parent
commit
683efb53cb
  1. 2
      src/OpenIddict.Client.AspNetCore/OpenIddictClientAspNetCoreHandlers.cs
  2. 2
      src/OpenIddict.Client.Owin/OpenIddictClientOwinHandlers.cs
  3. 4
      src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs

2
src/OpenIddict.Client.AspNetCore/OpenIddictClientAspNetCoreHandlers.cs

@ -704,7 +704,7 @@ public static partial class OpenIddictClientAspNetCoreHandlers
// unlike the form_post response mode, is compatible with SameSite=Lax cookies (as it uses GET requests
// for the callback stage). However, some specific response_type/response_mode combinations are not
// allowed (e.g query can never be used with a type containing id_token or token, as required by the
// OAuth 2.0 multiple response types specification. To prevent invalid combinations from being sent to
// OAuth 2.0 multiple response types specification). To prevent invalid combinations from being sent to
// the remote server, the response types are taken into account when selecting the best response mode.
if (context.ResponseType?.Split(Separators.Space) is not IList<string> { Count: > 0 } types)
{

2
src/OpenIddict.Client.Owin/OpenIddictClientOwinHandlers.cs

@ -731,7 +731,7 @@ public static partial class OpenIddictClientOwinHandlers
// unlike the form_post response mode, is compatible with SameSite=Lax cookies (as it uses GET requests
// for the callback stage). However, some specific response_type/response_mode combinations are not
// allowed (e.g query can never be used with a type containing id_token or token, as required by the
// OAuth 2.0 multiple response types specification. To prevent invalid combinations from being sent to
// OAuth 2.0 multiple response types specification). To prevent invalid combinations from being sent to
// the remote server, the response types are taken into account when selecting the best response mode.
if (context.ResponseType?.Split(Separators.Space) is not IList<string> { Count: > 0 } types)
{

4
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs

@ -582,8 +582,8 @@ public static partial class OpenIddictClientWebIntegrationHandlers
}
/// <summary>
/// Contains the logic responsible for attaching custom client credentials
/// parameters to the token request for the providers that require it.
/// Contains the logic responsible for overriding the redirect_uri
/// attached to the token request for the providers that require it.
/// </summary>
public sealed class AdjustRedirectUriInTokenRequest : IOpenIddictClientHandler<ProcessAuthenticationContext>
{

Loading…
Cancel
Save