Application. Authorize Request 事件
当安全模块已验证用户授权时发生。Occurs when a security module has verified user authorization.
public: event EventHandler ^ AuthorizeRequest;
public event EventHandler AuthorizeRequest;
member this.AuthorizeRequest : EventHandler
Public Custom Event AuthorizeRequest As EventHandler
AuthorizeRequest 事件表明 ASP.NET 已授权当前请求。The AuthorizeRequest event signals that ASP.NET has authorized the current request. 订阅 AuthorizeRequest 事件可确保在处理附加的模块或事件处理程序之前，对请求进行身份验证和授权。Subscribing to the AuthorizeRequest event ensures that the request will be authenticated and authorized before processing the attached module or event handler.