You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
/*
|
|
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
|
* See https://github.com/openiddict/openiddict-core for more information concerning
|
|
* the license and the contributors participating to this project.
|
|
*/
|
|
|
|
using System.Text.Encodings.Web;
|
|
using AspNet.Security.OAuth.Validation;
|
|
using JetBrains.Annotations;
|
|
using Microsoft.AspNetCore.Authentication;
|
|
using Microsoft.Extensions.Logging;
|
|
using Microsoft.Extensions.Options;
|
|
|
|
namespace OpenIddict.Validation
|
|
{
|
|
/// <summary>
|
|
/// Provides the logic necessary to extract and validate tokens from HTTP requests.
|
|
/// </summary>
|
|
public class OpenIddictValidationHandler : OAuthValidationHandler
|
|
{
|
|
/// <summary>
|
|
/// Creates a new instance of the <see cref="OpenIddictValidationHandler"/> class.
|
|
/// </summary>
|
|
public OpenIddictValidationHandler(
|
|
[NotNull] IOptionsMonitor<OpenIddictValidationOptions> options,
|
|
[NotNull] ILoggerFactory logger,
|
|
[NotNull] UrlEncoder encoder,
|
|
[NotNull] ISystemClock clock)
|
|
: base(options, logger, encoder, clock)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|