Table of Contents

Class UserSubjectConsentService

Namespace
Dynamicweb.DataProcessing
Assembly
Dynamicweb.Core.dll

Service for handling consents by user.

public class UserSubjectConsentService : SubjectConsentService<int>
Inheritance
UserSubjectConsentService
Inherited Members

Constructors

UserSubjectConsentService(IContextAccessor, ConsentService, UserContextProvider)

Initializes a new instance of the UserSubjectConsentService class.

public UserSubjectConsentService(IContextAccessor contextAccessor, ConsentService consentService, UserContextProvider userContextProvider)

Parameters

contextAccessor IContextAccessor
consentService ConsentService
userContextProvider UserContextProvider

Methods

GetCurrentSubjectId()

Gets the current subject identifier.

protected override int GetCurrentSubjectId()

Returns

int

An identifier.

To top