PageConventionCollectionExtensions.AuthorizeFolder 메서드

정의

오버로드

AuthorizeFolder(PageConventionCollection, String)

지정된 폴더 아래의 모든 페이지에 대한 권한 부여가 필요합니다.

AuthorizeFolder(PageConventionCollection, String, String)

지정된 폴더 아래의 모든 페이지에 대한 권한 부여가 필요합니다.

AuthorizeFolder(PageConventionCollection, String)

지정된 폴더 아래의 모든 페이지에 대한 권한 부여가 필요합니다.

public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection AuthorizeFolder (this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, string folderPath);
static member AuthorizeFolder : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
<Extension()>
Public Function AuthorizeFolder (conventions As PageConventionCollection, folderPath As String) As PageConventionCollection

매개 변수

conventions
PageConventionCollection

구성할 PageConventionCollection입니다.

folderPath
String

폴더 경로입니다.

반환

PageConventionCollection

적용 대상

AuthorizeFolder(PageConventionCollection, String, String)

지정된 폴더 아래의 모든 페이지에 대한 권한 부여가 필요합니다.

public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection AuthorizeFolder (this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, string folderPath, string policy);
static member AuthorizeFolder : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection * string * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
<Extension()>
Public Function AuthorizeFolder (conventions As PageConventionCollection, folderPath As String, policy As String) As PageConventionCollection

매개 변수

conventions
PageConventionCollection

구성할 PageConventionCollection입니다.

folderPath
String

폴더 경로입니다.

policy
String

권한 부여 정책입니다.

반환

PageConventionCollection

적용 대상