RequireHttpsAttribute.OnAuthorization(AuthorizationFilterContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
virtual void OnAuthorization(Microsoft::AspNetCore::Mvc::Filters::AuthorizationFilterContext ^ filterContext);
public virtual void OnAuthorization (Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext filterContext);
abstract member OnAuthorization : Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext -> unit
override this.OnAuthorization : Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext -> unit
Public Overridable Sub OnAuthorization (filterContext As AuthorizationFilterContext)
参数
- filterContext
- AuthorizationFilterContext