Skip to main content

DelegationBase

The DelegationBase class represents the foundational details for a delegation, including information about its type, participants, timing, status, and metadata.

Properties

NameDescription
SecretKeySecret key associated with the delegation.
IdUnique identifier for the delegation.
DeletedAtThe date and time when the delegation was deleted.
EndDateEnd date and time for the delegation, indicating when it should expire. If its set to null, that means delegation doesn't have expiration date.
DeletedByInformation about the user who deleted the delegation.
ToInformation about the user to whom the delegation is assigned.
TokenIdToken ID associated with the delegation.
ModifiedByInformation about the user who last modified the delegation.
CreationTypeSpecifies the creation type for the delegation, indicating how it was generated or categorized.
IsActiveIndicates whether the delegation is currently active.
TypeThe DelegationType enum defines the types of delegation available, specifying different modes of access or authorization. In this enum Delegation means this delegation given to spesific user with specific permissions that decided by user. On the other hand Token act like access token with spesific that decided by user.
PositionIdsA list of position IDs associated with the delegation given user positions.
NameDefines the multi language name of the delegation by culture.
AccessTokenIdAccess token ID, populated only after creating a delegation.
BasedTypeSpecifies the basis type for the delegation, defining the origin or foundation of the delegation.
CreatedAtThe date and time when the delegation was created.
CreatedByInformation about the user who created the delegation.
FromInformation about the user who initiated the delegation.
InternalAccessTokenIdAccess token ID, populated only after creating a delegation.
ModifiedAtThe date and time when the delegation was last modified.
StartDateSpecifies the start date and time of the delegation.

Constructors

NameDescription
DelegationBase(id, name, type, from, to, startDate, endDate, isActive, createdBy, createdAt, modifiedBy, modifiedAt, deletedBy, deletedAt, tokenId, internalAccessTokenId, accessTokenId, positionIds, creationType, basedType)Initializes a new instance of the DelegationBase class with specified details.