다음을 통해 공유


AuthorizationPolicyBuilder.AddRequirements 메서드

정의

이 instance 대해 지정된 requirementsRequirements 를 에 추가합니다.

public:
 Microsoft::AspNetCore::Authorization::AuthorizationPolicyBuilder ^ AddRequirements(... cli::array <Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ requirements);
public Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder AddRequirements (params Microsoft.AspNetCore.Authorization.IAuthorizationRequirement[] requirements);
member this.AddRequirements : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement[] -> Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder
Public Function AddRequirements (ParamArray requirements As IAuthorizationRequirement()) As AuthorizationPolicyBuilder

매개 변수

requirements
IAuthorizationRequirement[]

추가할 권한 부여 요구 사항입니다.

반환

작업이 완료된 후 이 인스턴스에 대한 참조입니다.

적용 대상