Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IServerEventAuthorizationService

    Namespace: Umbraco.Cms.Core.ServerEvents
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IServerEventAuthorizationService

    Methods

    View Source

    AuthorizeAsync(ClaimsPrincipal)

    Authorizes a user to listen to server events.

    Declaration
    Task<SeverEventAuthorizationResult> AuthorizeAsync(ClaimsPrincipal user)
    Parameters
    Type Name Description
    System.Security.Claims.ClaimsPrincipal user

    The user to authorize.

    Returns
    Type Description
    Task<SeverEventAuthorizationResult>

    The authorization result, containing all authorized event sources, and unauthorized event sources.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • AuthorizeAsync(ClaimsPrincipal)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX