IAuthorizeData Interface

Definition

Defines the set of data required to apply authorization rules to a resource.

C#
public interface IAuthorizeData
Derived

Properties

ActiveAuthenticationSchemes

Gets or sets a comma delimited list of schemes from which user information is constructed.

AuthenticationSchemes

Gets or sets a comma delimited list of schemes from which user information is constructed.

Policy

Gets or sets the policy name that determines access to the resource.

Roles

Gets or sets a comma delimited list of roles that are allowed to access the resource.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0