< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Authentication.IOpenApiAuthenticationOptions
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Authentication/IOpenApiAuthenticationOptions.cs
Tag: Kestrun/Kestrun@0d738bf294e6281b936d031e1979d928007495ff
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 32
Line coverage: 100%
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

Coverage history

Coverage history 0 25 50 75 100 12/12/2025 - 17:27:19 Line coverage: 100% (1/1) Total lines: 32 Tag: Kestrun/Kestrun@826bf9dcf9db118c5de4c78a3259bce9549f0dcd

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Authentication/IOpenApiAuthenticationOptions.cs

#LineLine coverage
 1namespace Kestrun.Authentication;
 2
 3/// <summary>
 4/// Defines options for OpenAPI authentication schemes.
 5/// </summary>
 6public interface IOpenApiAuthenticationOptions
 7{
 8    /// <summary>
 9    /// Default authentication scheme name.
 10    /// </summary>
 11    const string DefaultSchemeName = "Default";
 12
 13    /// <summary>
 14    /// Default documentation identifiers for OpenAPI authentication schemes.
 15    /// </summary>
 116    static readonly string[] DefaultDocumentationIds = ["Default"];
 17
 18    /// <summary>
 19    /// If true, this security scheme is applied globally in OpenAPI documentation.
 20    /// </summary>
 21    bool GlobalScheme { get; set; }
 22
 23    /// <summary>
 24    /// Optional description for the security scheme in OpenAPI documentation.
 25    /// </summary>
 26    string? Description { get; set; }
 27
 28    /// <summary>
 29    /// Optional documentation identifiers associated with this authentication scheme.
 30    /// </summary>
 31    string[] DocumentationId { get; set; }
 32}

Methods/Properties

.cctor()