Megosztás a következőn keresztül:


PassThroughAuthorizationHandler Class

Definition

Infrastructure class which allows an IAuthorizationRequirement to be its own IAuthorizationHandler.

public ref class PassThroughAuthorizationHandler : Microsoft::AspNetCore::Authorization::IAuthorizationHandler
public class PassThroughAuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler
type PassThroughAuthorizationHandler = class
    interface IAuthorizationHandler
Public Class PassThroughAuthorizationHandler
Implements IAuthorizationHandler
Inheritance
PassThroughAuthorizationHandler
Implements

Constructors

PassThroughAuthorizationHandler()

Creates a new instance of PassThroughAuthorizationHandler.

PassThroughAuthorizationHandler(IOptions<AuthorizationOptions>)

Creates a new instance of PassThroughAuthorizationHandler.

Methods

HandleAsync(AuthorizationHandlerContext)

Makes a decision if authorization is allowed.

Applies to