Επεξεργασία

Κοινή χρήση μέσω


SamlEvidence Class

Definition

Represents the evidence used to render an authorization decision for a SamlSecurityToken security token.

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

Examples

SamlAuthorizationDecisionStatement

SamlAssertion

SamlSecurityToken

Remarks

SamlSecurityToken security tokens specify their claims using SAML assertions, which can specify when the subject was authorized to access a specific resource. 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 SamlAuthorizationDecisionStatement. An SamlAuthorizationDecisionStatement asserts an authorization decision regarding access by the subject to the specified resource has been made. The SamlEvidence class represents the evidence used by a SAML authority to render an authorization decision for a SamlAuthorizationDecisionStatement. The evidence is specified as SAML assertions or a reference to SAML assertions, which refer to the Assertions and AssertionIdReferences properties, respectively.

Constructors

SamlEvidence()

Initializes a new instance of the SamlEvidence class.

SamlEvidence(IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertions.

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

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertion references and SAML assertions.

SamlEvidence(IEnumerable<String>)

Initializes a new instance of the SamlEvidence class using the specified set of SAML assertion references.

Properties

AssertionIdReferences

Gets a collection of identifiers for SAML assertions that specify the evidence that the SAML authority relied on to render the authorization decision.

Assertions

Gets the collection of SAML assertions that comprise the evidence that the SAML authority relied on to render the authorization decision.

IsReadOnly

Gets a value that indicates 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 evidence from the specified XML reader.

ToString()

Returns a string that represents the current object.

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

Writes the evidence into the specified XML serializer.

Applies to