< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.IdentityModel.WSSecureConversationFeb2005Constants
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/WSSecureConversationFeb2005Constants.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 34
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
.cctor()100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/WSSecureConversationFeb2005Constants.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;
 5
 6namespace CoreWCF.IdentityModel
 7{
 8    /// <summary>
 9    /// Defines constants used in WS-SecureConversation (Feb 2005) standard schema.
 10    /// </summary>
 11    internal static class WSSecureConversationFeb2005Constants
 12    {
 13        public const string Namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc";
 014        public static readonly Uri NamespaceUri = new Uri( Namespace );
 15        public const string Prefix = "sc";
 16        public const string TokenTypeURI = "http://schemas.xmlsoap.org/ws/2005/02/sc/sct";
 17        public const int DefaultDerivedKeyLength = 32;
 18
 19        public static class ElementNames
 20        {
 21            public const string Name = "SecurityContextToken";
 22            public const string Identifier = "Identifier";
 23            public const string Instance = "Instance";
 24        }
 25
 26        public static class Attributes
 27        {
 28            // Length isn't actually in SC-Feb2005, but it is in OASIS SC 1.3
 29            public const string Length = "Length";
 30            public const string Nonce  = "Nonce";
 31            public const string Instance = "Instance";
 32        }
 33    }
 34}

Methods/Properties

.cctor()