SecurityTokenTypes Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Contains a set of static properties that returns strings that represent security token types.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Tokens.SecurityTokenTypes

public static class SecurityTokenTypes

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticKerberos

Gets a string that represents a security token based upon a Kerberos ticket.

System_CAPS_pubpropertySystem_CAPS_staticRsa

Gets a string that represents a security token based upon an RSA key.

System_CAPS_pubpropertySystem_CAPS_staticSaml

Gets a string that represents a security token based upon a SAML assertion.

System_CAPS_pubpropertySystem_CAPS_staticUserName

Gets a string that represents a security token based upon a user name and password.

System_CAPS_pubpropertySystem_CAPS_staticX509Certificate

Gets a string that represents a security token based upon an X.509 certificate.

Use SecurityTokenTypes to specify the security token type that must be included in a SOAP message sent by a client or required by a service. To specify the security token type requirement, set the TokenType property.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: