Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1)
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.
 
 
 
 
 
 

55 lines
1.9 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 Microsoft.Extensions.Logging;
namespace OpenIddict.Validation;
/// <summary>
/// Represents the context associated with an OpenID Connect validation request.
/// </summary>
public class OpenIddictValidationTransaction
{
/// <summary>
/// Gets or sets the type of the endpoint processing the current request.
/// </summary>
public OpenIddictValidationEndpointType EndpointType { get; set; }
/// <summary>
/// Gets or sets the issuer address associated with the current transaction, if available.
/// </summary>
public Uri? Issuer { get; set; }
/// <summary>
/// Gets or sets the logger associated with the current request.
/// </summary>
public ILogger Logger { get; set; } = default!;
/// <summary>
/// Gets or sets the options associated with the current request.
/// </summary>
public OpenIddictValidationOptions Options { get; set; } = default!;
/// <summary>
/// Gets the additional properties associated with the current request.
/// </summary>
public Dictionary<string, object?> Properties { get; } = new(StringComparer.OrdinalIgnoreCase);
/// <summary>
/// Gets or sets the server configuration used for the current request.
/// </summary>
public OpenIddictConfiguration Configuration { get; set; } = default!;
/// <summary>
/// Gets or sets the current OpenID Connect request.
/// </summary>
public OpenIddictRequest? Request { get; set; }
/// <summary>
/// Gets or sets the current OpenID Connect response being returned.
/// </summary>
public OpenIddictResponse? Response { get; set; }
}