SecurityTokenTypes.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

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

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

using System.Globalization; 

namespace System.IdentityModel.Tokens 
{ 
    public static class SecurityTokenTypes
    { 
        const string Namespace = "http://schemas.microsoft.com/ws/2006/05/identitymodel/tokens";
        const string userName = Namespace + "/UserName";
        const string x509Certificate = Namespace + "/X509Certificate";
        const string kerberos = Namespace + "/Kerberos"; 
        const string saml = Namespace + "/Saml";
        const string rsa = Namespace + "/Rsa"; 
 
        static public string UserName { get { return userName; } }
        static public string X509Certificate { get { return x509Certificate; } } 
        static public string Kerberos { get { return kerberos; } }
        static public string Saml { get { return saml; } }
        static public string Rsa { get { return rsa; } }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------

using System.Globalization; 

namespace System.IdentityModel.Tokens 
{ 
    public static class SecurityTokenTypes
    { 
        const string Namespace = "http://schemas.microsoft.com/ws/2006/05/identitymodel/tokens";
        const string userName = Namespace + "/UserName";
        const string x509Certificate = Namespace + "/X509Certificate";
        const string kerberos = Namespace + "/Kerberos"; 
        const string saml = Namespace + "/Saml";
        const string rsa = Namespace + "/Rsa"; 
 
        static public string UserName { get { return userName; } }
        static public string X509Certificate { get { return x509Certificate; } } 
        static public string Kerberos { get { return kerberos; } }
        static public string Saml { get { return saml; } }
        static public string Rsa { get { return rsa; } }
    } 
}

// 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