Class AuthorizeJobBase
- Namespace
- Excalibur.A3.Authorization.Requests
- Assembly
- Excalibur.A3.dll
Provides a base implementation for jobs that require authorization.
public abstract class AuthorizeJobBase : JobBase, IAuthorizeJob, IJob, IAmCorrelatable, IAmMultiTenant, IDispatchAction<JobResult>, IRequireAuthorization, IDispatchAction, IDispatchMessage
- Inheritance
-
AuthorizeJobBase
- Implements
- Inherited Members
Remarks
Implements the IAuthorizeJob interface, enabling access token handling and tenant-based authorization for jobs.
Constructors
AuthorizeJobBase()
Initializes a new instance of the AuthorizeJobBase class with default values.
protected AuthorizeJobBase()
AuthorizeJobBase(Guid, string?)
Initializes a new instance of the AuthorizeJobBase class with the specified correlation ID and tenant ID.
protected AuthorizeJobBase(Guid correlationId, string? tenantId)
Parameters
correlationIdGuidThe correlation ID to track the job.
tenantIdstringThe tenant ID associated with the job.
Properties
AccessToken
public IAccessToken? AccessToken { get; set; }