Redigera

Dela via


SamlAuthorityBinding Class

Definition

Specifies how to retrieve additional information about the subject of a SamlSecurityToken security token.

public ref class SamlAuthorityBinding
[System.Runtime.Serialization.DataContract]
public class SamlAuthorityBinding
[<System.Runtime.Serialization.DataContract>]
type SamlAuthorityBinding = class
Public Class SamlAuthorityBinding
Inheritance
SamlAuthorityBinding
Attributes

Remarks

Use the SamlAuthorityBinding class to specify how to retrieve additional information about an authenticated subject within a SamlSecurityToken security token. SamlSecurityToken security tokens specify their claims using SAML assertions, which can specify when the subject was authenticated. The claims in a SAML assertion are represented by SAML statements. The SAML specification defines a set of SAML statement types and one of them is a SamlAuthenticationStatement. An SamlAuthenticationStatement asserts that the statement's subject was authenticated by a particular means at a particular time. An SamlAuthenticationStatement also has an optional SamlAuthorityBinding, which specifies how to retrieve additional information about an authenticated subject.

Use the Location, AuthorityKind, and Binding properties to retrieve additional information about an authenticated subject.

Constructors

SamlAuthorityBinding()

Initializes a new instance of the SamlAuthorityBinding class.

SamlAuthorityBinding(XmlQualifiedName, String, String)

Initializes a new instance of the SamlAuthorityBinding class using the specified query types, protocol binding, and SAML authority location.

Properties

AuthorityKind

Gets or sets the type of queries that the SAML authority that has additional information about the subject, responds to.

Binding

Gets or sets the SAML protocol binding to use when communicating with the SAML authority that has additional information that has additional information about the subject.

IsReadOnly

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

Location

Gets or sets how to locate and communicate with the SAML authority that has additional information that has additional information about the subject.

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 <AuthorityBinding> element from the specified XML reader.

ToString()

Returns a string that represents the current object.

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

Writes the <AuthorityBinding> element into the specified XML serializer.

Applies to

See also