Esempio n. 1
0
 public DefaultAuthConfiguration(
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     IAuthCookieNamespaceProvider authCookieNamespaceProvider
     )
 {
     _userAreaDefinitionRepository = userAreaDefinitionRepository;
     _authCookieNamespaceProvider  = authCookieNamespaceProvider;
 }
 public DefaultAuthConfiguration(
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     IRoleDefinitionRepository roleDefinitionRepository,
     IPermissionRepository permissionRepository,
     IAuthCookieNamespaceProvider authCookieNamespaceProvider
     )
 {
     _userAreaDefinitionRepository = userAreaDefinitionRepository;
     _roleDefinitionRepository     = roleDefinitionRepository;
     _permissionRepository         = permissionRepository;
     _authCookieNamespaceProvider  = authCookieNamespaceProvider;
 }