A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/zh-cn/dotnet/api/microsoft.aspnetcore.authorization.authorizeattribute below:

AuthorizeAttribute ç±» (Microsoft.AspNetCore.Authorization) | Microsoft Learn

AuthorizeAttribute 类 定义

指定应用此属性的类或方法需要指定的授权。

public ref class AuthorizeAttribute : Attribute, Microsoft::AspNetCore::Authorization::IAuthorizeData
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class AuthorizeAttribute : Attribute, Microsoft.AspNetCore.Authorization.IAuthorizeData
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type AuthorizeAttribute = class
    inherit Attribute
    interface IAuthorizeData
Public Class AuthorizeAttribute
Inherits Attribute
Implements IAuthorizeData
继承
属性
实现
构造函数 属性 ActiveAuthenticationSchemes

已过时.

获取或设置构造用户信息的方案的逗号分隔列表。

AuthenticationSchemes

获取或设置构造用户信息的方案的逗号分隔列表。

Policy

获取或设置确定资源访问权限的策略名称。

Roles

获取或设置允许访问资源的角色的逗号分隔列表。

方法 ToString()

指定应用此属性的类或方法需要指定的授权。

反馈

此页面是否有帮助?

本文内容

此页面是否有帮助?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4