IAuthorizationRequirementData.GetRequirements 方法

定义

返回 IAuthorizationRequirement 应满足授权的 。

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)

返回

IAuthorizationRequirement 用于授权。

适用于