Class PersonSecretAggregate
public class PersonSecretAggregate : AggregateRoot
- Inheritance
-
PersonSecretAggregate
- Inherited Members
- Extension Methods
Constructors
PersonSecretAggregate()
public PersonSecretAggregate()
Properties
Data
public PersonSecretState Data { get; }
Property Value
Methods
AddPersonSecret(Guid, string, string, string, DateTimeOffset, int?)
public void AddPersonSecret(Guid personId, string type, string name, string value, DateTimeOffset expiry, int? lifetime)
Parameters
CreateState()
Every aggregate must override this method to create the object that holds its current state.
public override AggregateState CreateState()
Returns
RemovePersonSecret(Guid, Guid)
public void RemovePersonSecret(Guid userId, Guid organizationId)