Class EmailSubjectConsentService
- Namespace
- Dynamicweb.DataProcessing
- Assembly
- Dynamicweb.Core.dll
Service for handling consents by email.
public class EmailSubjectConsentService : SubjectConsentService<string>
- Inheritance
-
EmailSubjectConsentService
- Inherited Members
Constructors
EmailSubjectConsentService(IContextAccessor, ConsentService, UserContextProvider)
Initializes a new instance of the EmailSubjectConsentService class.
public EmailSubjectConsentService(IContextAccessor contextAccessor, ConsentService consentService, UserContextProvider userContextProvider)
Parameters
contextAccessorIContextAccessorconsentServiceConsentServiceuserContextProviderUserContextProvider
Methods
GetCurrentSubjectId()
Gets the current subject identifier.
protected override string? GetCurrentSubjectId()
Returns
- string
An identifier.