View Source
Class PublicAccessChecker
Inheritance
System.Object
Assembly: Umbraco.Web.Common.dll
Syntax
public class PublicAccessChecker : IPublicAccessChecker
Constructors
View Source
PublicAccessChecker(IHttpContextAccessor, IPublicAccessService, IContentService)
Declaration
public PublicAccessChecker(IHttpContextAccessor httpContextAccessor, IPublicAccessService publicAccessService, IContentService contentService)
Parameters
Methods
View Source
HasMemberAccessToContentAsync(Int32)
Declaration
public async Task<PublicAccessStatus> HasMemberAccessToContentAsync(int publishedContentId)
Parameters
Type |
Name |
Description |
System.Int32 |
publishedContentId |
|
Returns