AssertionRequirement.HandleAsync(AuthorizationHandlerContext) Method
Definition
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.
Calls Handler to see if authorization is allowed.
public:
virtual System::Threading::Tasks::Task ^ HandleAsync(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public System.Threading.Tasks.Task HandleAsync (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HandleAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> System.Threading.Tasks.Task
override this.HandleAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> System.Threading.Tasks.Task
Public Function HandleAsync (context As AuthorizationHandlerContext) As Task
Parameters
- context
- AuthorizationHandlerContext
The authorization information.