SamlAdvice Class

 

Represents the <saml:Advice> element within a SAML assertion that contains additional information provided by the SAML authority.

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

System.Object
  System.IdentityModel.Tokens.SamlAdvice

public class SamlAdvice

NameDescription
System_CAPS_pubmethodSamlAdvice()

Initializes a new instance of the SamlAdvice class.

System_CAPS_pubmethodSamlAdvice(IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlAdvice class using the specified collection of SAML assertions.

System_CAPS_pubmethodSamlAdvice(IEnumerable<String>)

Initializes a new instance of the SamlAdvice class.

System_CAPS_pubmethodSamlAdvice(IEnumerable<String>, IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlAdvice class using the specified collections of SAML assertions and SAML assertion references.

NameDescription
System_CAPS_pubpropertyAssertionIdReferences

Gets a collection of references to SAML assertions.

System_CAPS_pubpropertyAssertions

Gets a collection of SAML assertions.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the properties of this instance are read-only.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodMakeReadOnly()

Causes this instance to be read-only.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver)

Reads the <saml:Advice> XML element using the specified XML reader.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)

Writes this SamlAdvice into the specified XML writer as an <saml:Advice> element.

The <saml:Advice> element within a SAML assertion is an extension point for SAML tokens. One example of how to use the SamlAdvice class is to provide supporting information about the SAML authority issuing the SAML assertion. This supporting information can be in the form of a SAML assertion or a reference to a SAML assertion, which are represented by the Assertions and AssertionIdReferences properties, respectively.

.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: