Search Results for

    Show / Hide Table of Contents
    View Source

    Class NoopRequestMemberAccessService

    A no-operation implementation of IRequestMemberAccessService that always grants access.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class NoopRequestMemberAccessService : IRequestMemberAccessService

    Constructors

    View Source

    NoopRequestMemberAccessService()

    Declaration
    public NoopRequestMemberAccessService()

    Methods

    View Source

    MemberAccessAsync()

    Gets the protected access information for the current member.

    Declaration
    public Task<ProtectedAccess> MemberAccessAsync()
    Returns
    Type Description
    Task<ProtectedAccess>

    The protected access information.

    View Source

    MemberHasAccessToAsync(IPublishedContent)

    Determines whether the current member has access to the specified content.

    Declaration
    public Task<PublicAccessStatus> MemberHasAccessToAsync(IPublishedContent content)
    Parameters
    Type Name Description
    IPublishedContent content

    The published content to check access for.

    Returns
    Type Description
    Task<PublicAccessStatus>

    The access status indicating whether the member can access the content.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX