SamlEvidence Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Tokens.SamlEvidence

public class SamlEvidence

NameDescription
System_CAPS_pubmethodSamlEvidence()

Initializes a new instance of the SamlEvidence class.

System_CAPS_pubmethodSamlEvidence(IEnumerable<SamlAssertion>)

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

System_CAPS_pubmethodSamlEvidence(IEnumerable<String>)

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

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

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

NameDescription
System_CAPS_pubpropertyAssertionIdReferences

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

System_CAPS_pubpropertyAssertions

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

System_CAPS_pubpropertyIsReadOnly

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodMakeReadOnly()

Causes this instance to be read-only.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver)

Reads the evidence from the specified XML reader.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)

Writes the evidence into the specified XML serializer.

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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: