Class ConsentRecord
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents a consent record for GDPR Article 7 compliance.
public sealed record ConsentRecord : IEquatable<ConsentRecord>
- Inheritance
-
ConsentRecord
- Implements
- Inherited Members
Properties
ExpiresAt
Gets the timestamp when consent expires, if applicable.
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
GrantedAt
Gets the timestamp when consent was granted.
public DateTimeOffset GrantedAt { get; init; }
Property Value
IsWithdrawn
Gets a value indicating whether the consent has been withdrawn.
public bool IsWithdrawn { get; init; }
Property Value
LegalBasis
Gets the legal basis for the consent.
public LegalBasis LegalBasis { get; init; }
Property Value
Purpose
Gets the processing purpose for which consent is granted.
public required string Purpose { get; init; }
Property Value
SubjectId
Gets the data subject identifier.
public required string SubjectId { get; init; }
Property Value
WithdrawnAt
Gets the timestamp when consent was withdrawn, if applicable.
public DateTimeOffset? WithdrawnAt { get; init; }