Class GovernanceExplorerController
- Namespace
- ReferenceApplication.Web.Controllers
- Assembly
- ReferenceApplication.Web.dll
Presents the interactive governance evidence explorer.
[Authorize(Policy = "application.AuthenticatedUser")]
public sealed class GovernanceExplorerController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
- Inheritance
-
GovernanceExplorerController
- Implements
- Inherited Members
Constructors
GovernanceExplorerController(IAuthorizationService, IOptions<ApplicationAuthorizationOptions>, IConfiguration, IHostEnvironment, IEnumerable<IDemoIdentityService>, IEnumerable<IGovernanceLoadDemonstrationService>, IEnumerable<IPolicySimulator>, IEnumerable<IDecisionReplayService>, IEnumerable<IPipelineInspector>, IEnumerable<IFailureScenarioService>)
Presents the interactive governance evidence explorer.
public GovernanceExplorerController(IAuthorizationService authorizationService, IOptions<ApplicationAuthorizationOptions> authorizationOptions, IConfiguration configuration, IHostEnvironment environment, IEnumerable<IDemoIdentityService> demoIdentityServices, IEnumerable<IGovernanceLoadDemonstrationService> loadDemonstrationServices, IEnumerable<IPolicySimulator> policySimulators, IEnumerable<IDecisionReplayService> decisionReplayServices, IEnumerable<IPipelineInspector> pipelineInspectors, IEnumerable<IFailureScenarioService> failureScenarioServices)
Parameters
authorizationServiceIAuthorizationServiceauthorizationOptionsIOptions<ApplicationAuthorizationOptions>configurationIConfigurationenvironmentIHostEnvironmentdemoIdentityServicesIEnumerable<IDemoIdentityService>loadDemonstrationServicesIEnumerable<IGovernanceLoadDemonstrationService>policySimulatorsIEnumerable<IPolicySimulator>decisionReplayServicesIEnumerable<IDecisionReplayService>pipelineInspectorsIEnumerable<IPipelineInspector>failureScenarioServicesIEnumerable<IFailureScenarioService>
Methods
Index()
Displays the explorer for an authenticated actor.
[HttpGet("/governance-explorer")]
public Task<IActionResult> Index()
Returns
- Task<IActionResult>
The explorer view.