Class AuthorizeNotificationBase
- Namespace
- Excalibur.A3.Authorization.Requests
- Assembly
- Excalibur.A3.dll
Provides a base implementation for notifications that require authorization.
public abstract class AuthorizeNotificationBase : NotificationBase, INotification, IActivity, IAmCorrelatable, IAmMultiTenant, IIntegrationEvent, IDispatchEvent, IAuthorizeNotification, IRequireAuthorization, IDispatchAction, IDispatchMessage
- Inheritance
-
AuthorizeNotificationBase
- Implements
- Inherited Members
Remarks
Implements the IAuthorizeNotification interface, ensuring that notifications can enforce access control policies and handle authorization tokens.
Constructors
AuthorizeNotificationBase()
Initializes a new instance of the AuthorizeNotificationBase class with default values.
protected AuthorizeNotificationBase()
AuthorizeNotificationBase(Guid, string?)
Initializes a new instance of the AuthorizeNotificationBase class with the specified correlation ID and tenant ID.
protected AuthorizeNotificationBase(Guid correlationId, string? tenantId = null)
Parameters
correlationIdGuidThe correlation ID to track the notification.
tenantIdstringThe tenant ID associated with the notification. Defaults to
null.
Properties
AccessToken
public IAccessToken? AccessToken { get; set; }