Interface IServerEventAuthorizationService
Namespace: Umbraco.Cms.Core.ServerEvents
Assembly: Umbraco.Core.dll
Syntax
public interface IServerEventAuthorizationService
Methods
View SourceAuthorizeAsync(ClaimsPrincipal)
Authorizes a user to listen to server events.
Declaration
Task<SeverEventAuthorizationResult> AuthorizeAsync(ClaimsPrincipal user)
Parameters
Type | Name | Description |
---|---|---|
System. |
user | The user to authorize. |
Returns
Type | Description |
---|---|
Task<Sever |
The authorization result, containing all authorized event sources, and unauthorized event sources. |