Search Results for

    Show / Hide Table of Contents
    View Source

    Class EventSourcePolicyAuthorizer

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Api.Management.ServerEvents
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class EventSourcePolicyAuthorizer : IEventSourceAuthorizer

    Constructors

    View Source

    EventSourcePolicyAuthorizer(IAuthorizationService)

    Declaration
    public EventSourcePolicyAuthorizer(IAuthorizationService authorizationService)
    Parameters
    Type Name Description
    IAuthorizationService authorizationService

    Properties

    View Source

    AuthorizableEventSources

    Declaration
    public abstract IEnumerable<string> AuthorizableEventSources { get; }
    Property Value
    Type Description
    IEnumerable<System.String>
    View Source

    Policy

    Declaration
    protected abstract string Policy { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    AuthorizeAsync(ClaimsPrincipal, String)

    Declaration
    public async Task<bool> AuthorizeAsync(ClaimsPrincipal principal, string eventSource)
    Parameters
    Type Name Description
    System.Security.Claims.ClaimsPrincipal principal
    System.String eventSource
    Returns
    Type Description
    Task<System.Boolean>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • EventSourcePolicyAuthorizer(IAuthorizationService)
    • Properties
      • AuthorizableEventSources
      • Policy
    • Methods
      • AuthorizeAsync(ClaimsPrincipal, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX