Ejemplo n.º 1
0
        public NodeManager(INexusEndpointRepository repository, CookieConstants cookeConstants)
        {
            _repository     = repository;
            _cookeConstants = cookeConstants;

            NodeIdClaimType = _cookeConstants.NodeIdClaimType;
        }
Ejemplo n.º 2
0
        public UserManager(ILogger <UserManager> log, INexusServiceFactory serviceFactory, CookieConstants cookieConstants)
        {
            _log             = log;
            _serviceFactory  = serviceFactory;
            _cookieConstants = cookieConstants;

            NodeAuthClaimType   = _cookieConstants.NodeAuthClaimType;
            NodeAuthClaimResult = cookieConstants.NodeAuthClaimResult;
        }