Sdílet prostřednictvím


AuthorizeAttribute Konstruktory

Definice

Přetížení

AuthorizeAttribute()

Inicializuje novou instanci AuthorizeAttribute třídy .

AuthorizeAttribute(String)

Inicializuje novou instanci AuthorizeAttribute třídy se zadanou zásadou.

AuthorizeAttribute()

Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs

Inicializuje novou instanci AuthorizeAttribute třídy .

public:
 AuthorizeAttribute();
public AuthorizeAttribute ();
Public Sub New ()

Platí pro

AuthorizeAttribute(String)

Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs
Zdroj:
AuthorizeAttribute.cs

Inicializuje novou instanci AuthorizeAttribute třídy se zadanou zásadou.

public:
 AuthorizeAttribute(System::String ^ policy);
public AuthorizeAttribute (string policy);
new Microsoft.AspNetCore.Authorization.AuthorizeAttribute : string -> Microsoft.AspNetCore.Authorization.AuthorizeAttribute
Public Sub New (policy As String)

Parametry

policy
String

Název zásady, která se má vyžadovat pro autorizaci.

Platí pro