JwtBearerHandler.HandleForbiddenAsync(AuthenticationProperties) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override this method to handle Forbid.
protected:
override System::Threading::Tasks::Task ^ HandleForbiddenAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
C#
protected override System.Threading.Tasks.Task HandleForbiddenAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overrides Function HandleForbiddenAsync (properties As AuthenticationProperties) As Task
- properties
- AuthenticationProperties
A Task.
Product | Versions |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |