This project is read-only.

Problem to resolve IMemberShipService on a module

Topics: Writing modules
Jan 15, 2015 at 9:11 PM
this my class

public class MyCustom: IAuthenticationService
    private readonly ShellSettings _settings;
    private readonly IClock _clock;
    private readonly IContentManager _contentManager;
    private readonly IHttpContextAccessor _httpContextAccessor;
    private readonly IMembershipService memberShipService;
    private IUser _signedInUser;
    private bool _isAuthenticated;

    public UpaAuthenticationService(ShellSettings settings, IClock clock, IContentManager contentManager, IHttpContextAccessor httpContextAccessor,
        IMembershipService _memberShipService)
        _settings = settings;
        _clock = clock;
        _contentManager = contentManager;
        _memberShipService = memberShipService;
        _httpContextAccessor = httpContextAccessor;

        Logger = NullLogger.Instance;

        ExpirationTimeSpan = TimeSpan.FromDays(30);

I Add also Orchard.Users and Orchard.Roles as follow : Dependencies: Orchard.Users, Orchard.Roles on the Module.txt

Some one have an idea how to solve this.