Edit

Share via


SamlAdvice Class

Definition

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

public ref class SamlAdvice
public class SamlAdvice
type SamlAdvice = class
Public Class SamlAdvice
Inheritance
SamlAdvice

Remarks

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.

Constructors

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.

Properties

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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)

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

Applies to

See also