public AuthorizationManager( IPluginsContainer <IClaimProvider> claimProviders, IUserInfo userInfo, ILogProvider logProvider, IAuthorizationProvider authorizationProvider, AppSecurityOptions appSecurityOptions, ILocalizer localizer) { _appSecurityOptions = appSecurityOptions; _userInfo = userInfo; _claimProviders = claimProviders; _authorizationProvider = authorizationProvider; _logger = logProvider.GetLogger(GetType().Name); _performanceLogger = logProvider.GetLogger("Performance." + GetType().Name); _allClaimsForUsers = FromConfigAllClaimsForUsers(); _localizer = localizer; }
public WindowsSecurity(ILogProvider logProvider, AppSecurityOptions appSecurityOptions) { _logger = logProvider.GetLogger(GetType().Name); _performanceLogger = logProvider.GetLogger("Performance." + GetType().Name); _appSecurityOptions = appSecurityOptions; }