SamlConstants.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Tokens / SamlConstants.cs / 1305376 / SamlConstants.cs

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------

namespace System.IdentityModel.Tokens 
{
    using System; 
 
    public static class SamlConstants
    { 
        static public int MajorVersionValue { get { return 1; } }
        static public int MinorVersionValue { get { return 1; } }
        static public string Namespace { get { return SamlStrings.Namespace; } }
        static public string HolderOfKey { get { return SamlStrings.HolderOfKey; } } 
        static public string SenderVouches { get { return SamlStrings.SenderVouches; } }
        static public string UserName { get { return SamlStrings.UserName; } } 
        static public string UserNameNamespace { get { return SamlStrings.UserNameNamespace; } } 
        static public string EmailName { get { return SamlStrings.EmailName; } }
        static public string EmailNamespace { get { return SamlStrings.EmailNamespace; } } 

        internal static string[] AcceptedDateTimeFormats = new string[] {
                "yyyy-MM-ddTHH:mm:ss.fffffffZ",
                "yyyy-MM-ddTHH:mm:ss.ffffffZ", 
                "yyyy-MM-ddTHH:mm:ss.fffffZ",
                "yyyy-MM-ddTHH:mm:ss.ffffZ", 
                "yyyy-MM-ddTHH:mm:ss.fffZ", 
                "yyyy-MM-ddTHH:mm:ss.ffZ",
                "yyyy-MM-ddTHH:mm:ss.fZ", 
                "yyyy-MM-ddTHH:mm:ssZ",
                "yyyy-MM-ddTHH:mm:ss.fffffffzzz",
                "yyyy-MM-ddTHH:mm:ss.ffffffzzz",
                "yyyy-MM-ddTHH:mm:ss.fffffzzz", 
                "yyyy-MM-ddTHH:mm:ss.ffffzzz",
                "yyyy-MM-ddTHH:mm:ss.fffzzz", 
                "yyyy-MM-ddTHH:mm:ss.ffzzz", 
                "yyyy-MM-ddTHH:mm:ss.fzzz",
                "yyyy-MM-ddTHH:mm:sszzz"}; 
        internal const string AssertionIdPrefix = "SamlSecurityToken-";
        internal const string GeneratedDateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffZ";
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK