다음을 통해 공유


AuthorizationPolicy 생성자

정의

AuthorizationPolicy의 새 인스턴스를 만듭니다.

public:
 AuthorizationPolicy(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ requirements, System::Collections::Generic::IEnumerable<System::String ^> ^ authenticationSchemes);
public AuthorizationPolicy (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> requirements, System.Collections.Generic.IEnumerable<string> authenticationSchemes);
new Microsoft.AspNetCore.Authorization.AuthorizationPolicy : seq<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> * seq<string> -> Microsoft.AspNetCore.Authorization.AuthorizationPolicy
Public Sub New (requirements As IEnumerable(Of IAuthorizationRequirement), authenticationSchemes As IEnumerable(Of String))

매개 변수

requirements
IEnumerable<IAuthorizationRequirement>

이 정책이 성공하려면 성공해야 하는 의 목록 IAuthorizationRequirement입니다.

authenticationSchemes
IEnumerable<String>

가 평가되는 인증 체계 requirements 입니다.

적용 대상