AuthorizeFilter AuthorizeFilter AuthorizeFilter Constructors

Definition

Overloads

AuthorizeFilter() AuthorizeFilter()

Initializes a new AuthorizeFilter instance.

AuthorizeFilter(AuthorizationPolicy) AuthorizeFilter(AuthorizationPolicy) AuthorizeFilter(AuthorizationPolicy)

Initialize a new AuthorizeFilter instance.

AuthorizeFilter(IEnumerable<IAuthorizeData>) AuthorizeFilter(IEnumerable<IAuthorizeData>) AuthorizeFilter(IEnumerable<IAuthorizeData>)

Initializes a new instance of AuthorizeFilter.

AuthorizeFilter(String) AuthorizeFilter(String) AuthorizeFilter(String)

Initializes a new instance of AuthorizeFilter.

AuthorizeFilter(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>) AuthorizeFilter(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>) AuthorizeFilter(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Initialize a new AuthorizeFilter instance.

AuthorizeFilter() AuthorizeFilter()

Initializes a new AuthorizeFilter instance.

public AuthorizeFilter ();
Public Sub New ()

AuthorizeFilter(AuthorizationPolicy) AuthorizeFilter(AuthorizationPolicy) AuthorizeFilter(AuthorizationPolicy)

Initialize a new AuthorizeFilter instance.

public AuthorizeFilter (Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy);
new Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter : Microsoft.AspNetCore.Authorization.AuthorizationPolicy -> Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter
Public Sub New (policy As AuthorizationPolicy)

Parameters

policy
AuthorizationPolicy AuthorizationPolicy AuthorizationPolicy

Authorization policy to be used.

AuthorizeFilter(IEnumerable<IAuthorizeData>) AuthorizeFilter(IEnumerable<IAuthorizeData>) AuthorizeFilter(IEnumerable<IAuthorizeData>)

Initializes a new instance of AuthorizeFilter.

public AuthorizeFilter (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData> authorizeData);
new Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter : seq<Microsoft.AspNetCore.Authorization.IAuthorizeData> -> Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter
Public Sub New (authorizeData As IEnumerable(Of IAuthorizeData))

Parameters

authorizeData
IEnumerable<IAuthorizeData>

The IAuthorizeData to combine into an IAuthorizeData.

AuthorizeFilter(String) AuthorizeFilter(String) AuthorizeFilter(String)

Initializes a new instance of AuthorizeFilter.

public AuthorizeFilter (string policy);
new Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter : string -> Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter
Public Sub New (policy As String)

Parameters

policy
String String String

The name of the policy to require for authorization.

AuthorizeFilter(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>) AuthorizeFilter(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>) AuthorizeFilter(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Initialize a new AuthorizeFilter instance.

public AuthorizeFilter (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData> authorizeData);
new Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * seq<Microsoft.AspNetCore.Authorization.IAuthorizeData> -> Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter
Public Sub New (policyProvider As IAuthorizationPolicyProvider, authorizeData As IEnumerable(Of IAuthorizeData))

Parameters

authorizeData
IEnumerable<IAuthorizeData>

The IAuthorizeData to combine into an IAuthorizeData.

Applies to