Dela via


IAuthorizationRequirementData.GetRequirements Method

Definition

Returns IAuthorizationRequirement that should be satisfied for authorization.

public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> GetRequirements ();
abstract member GetRequirements : unit -> seq<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>
Public Function GetRequirements () As IEnumerable(Of IAuthorizationRequirement)

Returns

IAuthorizationRequirement used for authorization.

Applies to