#### [Abblix\.Oidc\.Server\.AspNetCore](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore 'index')

## Abblix\.Oidc\.Server\.AspNetCore Namespace

| Classes | |
| :--- | :--- |
| [AntiFramingHeaders](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.AntiFramingHeaders 'Abblix\.Oidc\.Server\.AspNetCore\.AntiFramingHeaders') | Header values that forbid a self\-rendered HTML page \(such as the form\_post auto\-submit page\) from being embedded in another origin's frame, defending against clickjacking as required by the OAuth 2\.0 Security Best Current Practice \(RFC 9700, Section 4\.16\)\. Single source of truth shared by both transport adapters, paired with the framework's `HeaderNames` constants for the header names at the call site\. |
| [AuthenticationPropertiesExtensions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.AuthenticationPropertiesExtensions 'Abblix\.Oidc\.Server\.AspNetCore\.AuthenticationPropertiesExtensions') | Extension methods for [Microsoft\.AspNetCore\.Authentication\.AuthenticationProperties](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.authenticationproperties 'Microsoft\.AspNetCore\.Authentication\.AuthenticationProperties')\. |
| [AuthenticationSchemeAdapter](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.AuthenticationSchemeAdapter 'Abblix\.Oidc\.Server\.AspNetCore\.AuthenticationSchemeAdapter') | Adapts ASP\.NET Authentication Scheme to the [IAuthSessionService](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.UserAuthentication.IAuthSessionService 'Abblix\.Oidc\.Server\.Features\.UserAuthentication\.IAuthSessionService') interface\. This adapter allows the integration of the Abblix OIDC Server with standard ASP\.NET authentication mechanisms, enabling the use of existing authentication schemes to manage OIDC sessions\. |
| [ClaimsPrincipalExtensions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.ClaimsPrincipalExtensions 'Abblix\.Oidc\.Server\.AspNetCore\.ClaimsPrincipalExtensions') | Extension methods for [System\.Security\.Claims\.ClaimsPrincipal](https://learn.microsoft.com/en-us/dotnet/api/system.security.claims.claimsprincipal 'System\.Security\.Claims\.ClaimsPrincipal')\. |
| [CookieOptionsExtensions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.CookieOptionsExtensions 'Abblix\.Oidc\.Server\.AspNetCore\.CookieOptionsExtensions') | Maps the framework\-neutral [CookieOptions](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.CookieOptions 'Abblix\.Oidc\.Server\.Common\.CookieOptions') used by the core library to the ASP\.NET Core [Microsoft\.AspNetCore\.Http\.CookieOptions](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.cookieoptions 'Microsoft\.AspNetCore\.Http\.CookieOptions') consumed by [Microsoft\.AspNetCore\.Http\.IResponseCookies](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.iresponsecookies 'Microsoft\.AspNetCore\.Http\.IResponseCookies')\. Shared by the MVC and Minimal API transport adapters\. |
| [CorsServiceCollectionExtensions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.CorsServiceCollectionExtensions 'Abblix\.Oidc\.Server\.AspNetCore\.CorsServiceCollectionExtensions') | Shared CORS registration for the OIDC transport adapters\. Every OIDC endpoint is tagged with the policy name [CorsPolicyName](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Constants.OidcConstants#Abblix.Oidc.Server.Common.Constants.OidcConstants.CorsPolicyName 'Abblix\.Oidc\.Server\.Common\.Constants\.OidcConstants\.CorsPolicyName') \(the MVC controllers through `[EnableCors]`, the Minimal API endpoints through `RequireCors`\); this fills that policy so a browser client can read the endpoints cross\-origin out of the box, and leaves the host in full control of it\. |
| [HttpRequestExtensions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.HttpRequestExtensions 'Abblix\.Oidc\.Server\.AspNetCore\.HttpRequestExtensions') | Reads URL components from an [Microsoft\.AspNetCore\.Http\.HttpRequest](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.httprequest 'Microsoft\.AspNetCore\.Http\.HttpRequest')\. Touches only [Microsoft\.AspNetCore\.Http\.HttpRequest](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.httprequest 'Microsoft\.AspNetCore\.Http\.HttpRequest') \(no MVC, no Minimal API types\), so it is shared by both transport adapters\. |
| [HttpRequestInfoProvider](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.HttpRequestInfoProvider 'Abblix\.Oidc\.Server\.AspNetCore\.HttpRequestInfoProvider') | Supplies the core with information about the current HTTP request, reading it from the ambient [Microsoft\.AspNetCore\.Http\.HttpContext](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.httpcontext 'Microsoft\.AspNetCore\.Http\.HttpContext')\. Touches only ASP\.NET Core's HTTP abstractions \(no MVC, no Minimal API types\), so it is shared by both transport adapters as the default [IRequestInfoProvider](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Interfaces.IRequestInfoProvider 'Abblix\.Oidc\.Server\.Common\.Interfaces\.IRequestInfoProvider')\. |
| [HttpResponseExtensions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.HttpResponseExtensions 'Abblix\.Oidc\.Server\.AspNetCore\.HttpResponseExtensions') | Response\-shaping helpers shared by the MVC and Minimal API adapters\. |
| [OidcCorsOptions](https://www.abblix.com/en/docs/api/abblix-oidc-server-aspnetcore/Abblix.Oidc.Server.AspNetCore.OidcCorsOptions 'Abblix\.Oidc\.Server\.AspNetCore\.OidcCorsOptions') | Host\-configurable inputs for the default CORS policy \([CorsPolicyName](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Constants.OidcConstants#Abblix.Oidc.Server.Common.Constants.OidcConstants.CorsPolicyName 'Abblix\.Oidc\.Server\.Common\.Constants\.OidcConstants\.CorsPolicyName')\) that the MVC and Minimal API adapters register for the OIDC endpoints\. |
