Saml2NameIdentifier Class

.NET Framework 4.5

Represents the NameID element as specified in [Saml2Core, 2.2.3] or the EncryptedID element as specified in [Saml2Core, 2.2.4].

System.Object
  System.IdentityModel.Tokens.Saml2NameIdentifier

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

public class Saml2NameIdentifier

The Saml2NameIdentifier type exposes the following members.

  NameDescription
Public methodSaml2NameIdentifier(String)Initializes a new instance of the Saml2NameIdentifier class with the specified name.
Public methodSaml2NameIdentifier(String, Uri)Initializes a new instance of the Saml2NameIdentifier class with the specified name and format URI.
Top

  NameDescription
Public propertyEncryptingCredentialsGet or sets the credentials used for encrypting the name identifier in an EncryptedID element.
Public propertyExternalEncryptedKeysGets a collection that contains additional encrypted keys that are specified external to the xenc:EncryptedData element, as child elements of the EncryptedID element.
Public propertyFormatGets or sets a URI reference that represents the classification of string-based identifier information. [Saml2Core, 2.2.2]
Public propertyNameQualifierGets or sets the security or administrative domain that qualifies the name. [Saml2Core, 2.2.2]
Public propertySPNameQualifierGets or sets the name of a service provider or affiliation of providers that is used to further qualify a name [Saml2Core, 2.2.2].
Public propertySPProvidedIdGets or sets a name identifier established by a service provider or affiliation of providers for the entity, if different from the primary name identifier. [Saml2Core, 2.2.2]
Public propertyValueGets or sets the value of the name identifier.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

For more information about the element that this class represents, see the SAML V2.0 Core specification.

.NET Framework

Supported in: 4.5.3

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft