< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.IdentityModel.Tokens.AuthenticationContext
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/AuthenticationContext.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 36
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 Cyclomatic complexity NPath complexity Sequence coverage
.ctor()100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/AuthenticationContext.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System.Collections.ObjectModel;
 5
 6namespace CoreWCF.IdentityModel.Tokens
 7{
 8    /// <summary>
 9    /// This class is used to specify the context of an authentication event.
 10    /// </summary>
 11    public class AuthenticationContext
 12    {
 13        /// <summary>
 14        /// Creates an instance of AuthenticationContext.
 15        /// </summary>
 016        public AuthenticationContext()
 17        {
 018            Authorities = new Collection<string>();
 019        }
 20
 21        /// <summary>
 22        /// The collection of authorities for resolving an authentication event.
 23        /// </summary>
 024        public Collection<string> Authorities { get; }
 25
 26        /// <summary>
 27        /// The context class for resolving an authentication event.
 28        /// </summary>
 029        public string ContextClass { get; set; }
 30
 31        /// <summary>
 32        /// The context declaration for resolving an authentication event.
 33        /// </summary>
 034        public string ContextDeclaration { get; set; }
 35    }
 36}