Upraviť

Zdieľať cez


Saml2AudienceRestriction Class

Definition

Represents the AudienceRestriction element specified in [Saml2Core, 2.5.1.4].

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

Remarks

If the Audiences collection is empty, an InvalidOperationException will be thrown during serialization.

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

Constructors

Saml2AudienceRestriction()

Initializes a new instance of the Saml2AudienceRestriction class with no Audience elements.

Saml2AudienceRestriction(IEnumerable<Uri>)

Initializes a new instance of the Saml2AudienceRestriction class with the specified URIs.

Saml2AudienceRestriction(Uri)

Initializes a new instance of the Saml2AudienceRestriction class.

Properties

Audiences

Gets a collection of URIs that specifies the audiences to which the assertion is addressed. The condition is valid if the relying party is a member of any of the specified audiences.

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to