예제 #1
0
        public NodeManager(INexusEndpointRepository repository, CookieConstants cookeConstants)
        {
            _repository     = repository;
            _cookeConstants = cookeConstants;

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

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