SamlAdvice Class
Represents the <saml:Advice> element within a SAML assertion that contains additional information provided by the SAML authority.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The SamlAdvice type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SamlAdvice() | Initializes a new instance of the SamlAdvice class. |
![]() | SamlAdvice(IEnumerable<SamlAssertion>) | Initializes a new instance of the SamlAdvice class using the specified collection of SAML assertions. |
![]() | SamlAdvice(IEnumerable<String>) | Initializes a new instance of the SamlAdvice class. |
![]() | SamlAdvice(IEnumerable<String>, IEnumerable<SamlAssertion>) | Initializes a new instance of the SamlAdvice class using the specified collections of SAML assertions and SAML assertion references. |
| Name | Description | |
|---|---|---|
![]() | AssertionIdReferences | Gets a collection of references to SAML assertions. |
![]() | Assertions | Gets a collection of SAML assertions. |
![]() | IsReadOnly | Gets a value indicating whether the properties of this instance are read-only. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MakeReadOnly | Causes this instance to be read-only. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadXml | Reads the <saml:Advice> XML element using the specified XML reader. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteXml | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
