共用方式為


SamlSerializer Class

Definition

Reads and writes SamlAssertions

public class SamlSerializer
type SamlSerializer = class
Public Class SamlSerializer
Inheritance
SamlSerializer

Constructors

SamlSerializer()

Instantiates a new instance of SamlSerializer.

Properties

DSigSerializer

Gets or sets the DSigSerializer to use for reading / writing the Signature

Prefix

Gets or sets the prefix to use when writing xml.

Methods

ReadAction(XmlDictionaryReader)

Read the <saml:Action> element.

ReadAdvice(XmlDictionaryReader)

Reads the <saml:Advice> element.

ReadAssertion(XmlReader)

Reads a <saml:Assertion> element.

ReadAttribute(XmlDictionaryReader)

Reads the <saml:Attribute> element.

ReadAttributeStatement(XmlDictionaryReader)

Reads the <saml:AttributeStatement> element, or a <saml:Statement element that specifies an xsi:type of saml:AttributeStatementType.

ReadAudienceRestrictionCondition(XmlDictionaryReader)

Reads the <saml:AudienceRestriction> element or a <saml:Condition> element that specifies an xsi:type of saml:AudienceRestrictionType.

ReadAuthenticationStatement(XmlDictionaryReader)

Read the saml:AuthenticationStatement.

ReadAuthorityBinding(XmlDictionaryReader)

Reads a <saml:Binding> element.

ReadAuthorizationDecisionStatement(XmlDictionaryReader)

Reads the <saml:AuthzDecisionStatement> element or a <saml:Statement element that specifies an xsi:type of saml:AuthzDecisionStatementType.

ReadCondition(XmlDictionaryReader)

Reads the <saml:Condition> element.

ReadConditions(XmlDictionaryReader)

Reads the <saml:Conditions> element.

ReadDoNotCacheCondition(XmlDictionaryReader)

Reads the <saml:DoNotCacheCondition> element.

ReadEvidence(XmlDictionaryReader)

Reads the <saml:Evidence> element.

ReadStatement(XmlDictionaryReader)

Reads the <saml:Statement> element.

ReadSubject(XmlDictionaryReader)

Read the SamlSubject from the XmlReader.

WriteAction(XmlWriter, SamlAction)

Writes the <saml:Action> element.

WriteAdvice(XmlWriter, SamlAdvice)

Writes the <saml:Advice> element.

WriteAssertion(XmlWriter, SamlAssertion)

Writes the <Assertion> element.

WriteAttribute(XmlWriter, SamlAttribute)

Writes the <saml:Attribute> element.

WriteAttributeStatement(XmlWriter, SamlAttributeStatement)

Writes the <saml:AttributeStatement> element.

WriteAudienceRestrictionCondition(XmlWriter, SamlAudienceRestrictionCondition)

Writes the <saml:AudienceRestriction> element.

WriteAuthenticationStatement(XmlWriter, SamlAuthenticationStatement)

Writes the <AuthenticationStatement> element.

WriteAuthorityBinding(XmlWriter, SamlAuthorityBinding)

Writes the <AuthorityBinding> element.

WriteAuthorizationDecisionStatement(XmlWriter, SamlAuthorizationDecisionStatement)

Writes the <saml:AuthzDecisionStatement> element.

WriteCondition(XmlWriter, SamlCondition)

Writes the <saml:Condition> element.

WriteConditions(XmlWriter, SamlConditions)

Writes the <saml:Conditions> element.

WriteDoNotCacheCondition(XmlWriter, SamlDoNotCacheCondition)

Writes the <saml:DoNotCacheCondition> element.

WriteEvidence(XmlWriter, SamlEvidence)

Writes the <saml:Evidence> element.

WriteStatement(XmlWriter, SamlStatement)

Writes one of the suppported Statements.

WriteSubject(XmlWriter, SamlSubject)

Writes the <saml:Subject> element.

Applies to