< Summary

Information
Class: Elsa.Http.AuthorizeHttpEndpointContext
Assembly: Elsa.Http
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Http/Models/AuthorizeHttpEndpointContext.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 9
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_HttpContext()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Http/Models/AuthorizeHttpEndpointContext.cs

#LineLine coverage
 1using Elsa.Workflows.Activities;
 2using Microsoft.AspNetCore.Http;
 3
 4namespace Elsa.Http;
 5
 6/// <summary>
 7/// Represents the context for authorizing an HTTP endpoint.
 8/// </summary>
 09public record AuthorizeHttpEndpointContext(HttpContext HttpContext, Workflow Workflow, string? Policy = default);

Methods/Properties

get_HttpContext()