AuthenticationHttpContextExtensions
AuthenticateAsync(HttpContext)
AuthenticateAsync(HttpContext, String)
ChallengeAsync(HttpContext)
ChallengeAsync(HttpContext, AuthenticationProperties)
ChallengeAsync(HttpContext, String)
ChallengeAsync(HttpContext, String, AuthenticationProperties)
ForbidAsync(HttpContext)
ForbidAsync(HttpContext, AuthenticationProperties)
ForbidAsync(HttpContext, String)
ForbidAsync(HttpContext, String, AuthenticationProperties)
GetTokenAsync(HttpContext, String)
GetTokenAsync(HttpContext, String, String)
SignInAsync(HttpContext, ClaimsPrincipal)
SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties)
SignInAsync(HttpContext, String, ClaimsPrincipal)
SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)
SignOutAsync(HttpContext)
SignOutAsync(HttpContext, AuthenticationProperties)
SignOutAsync(HttpContext, String)
SignOutAsync(HttpContext, String, AuthenticationProperties)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Authentication
{
public static class AuthenticationHttpContextExtensions
{
public static Task ForbidAsync(this HttpContext context, string scheme, AuthenticationProperties properties);
}
}
| nuget.org | 0.8 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | Microsoft.AspNetCore.Authentication.Abstractions , Version=2.3.13.0, PublicKeyToken=adb9793829ddae60 Microsoft.AspNetCore.Authentication.Abstractions , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Package | Microsoft.AspNetCore.Authentication.Abstractions (2.3.13) netstandard2.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API