File: System\IdentityModel\Tokens\SecurityTokenTypes.cs
Web Access
Project: src\src\System.ServiceModel.Primitives\src\System.ServiceModel.Primitives.csproj (System.ServiceModel.Primitives)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
 
namespace System.IdentityModel.Tokens
{
    public static class SecurityTokenTypes
    {
        private const string Namespace = "http://schemas.microsoft.com/ws/2006/05/identitymodel/tokens";
        private const string userName = Namespace + "/UserName";
        private const string x509Certificate = Namespace + "/X509Certificate";
        private const string kerberos = Namespace + "/Kerberos";
        private const string saml = Namespace + "/Saml";
        private const string rsa = Namespace + "/Rsa";
 
        internal const string SamlTokenProfile11 = "urn:oasis:names:tc:SAML:1.0:assertion";
        internal const string Saml2TokenProfile11 = "urn:oasis:names:tc:SAML:2.0:assertion";
 
        internal const string OasisWssSamlTokenProfile11 = "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1";
        internal const string OasisWssSaml2TokenProfile11 = "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0";
 
        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; } }
    }
}