次の方法で共有


Saml2Serializer Class

Definition

Reads and writes a Saml2Assertion or Saml2SecurityToken

public class Saml2Serializer
type Saml2Serializer = class
Public Class Saml2Serializer
Inheritance
Saml2Serializer

Constructors

Saml2Serializer()

Instantiates a new instance of Saml2Serializer.

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)

Reads the <saml:Action> element.

ReadAdvice(XmlDictionaryReader)

Reads the <saml:Advice> element.

ReadAssertion(XmlReader)

Reads a <saml:Assertion> element.

ReadAttribute(XmlDictionaryReader)

Reads a Saml2Attribute.

ReadAttributeStatement(XmlDictionaryReader)

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

ReadAttributeValue(XmlDictionaryReader, Saml2Attribute)

Reads an attribute value.

ReadAudienceRestriction(XmlDictionaryReader)

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

ReadAuthenticationContext(XmlDictionaryReader)

Reads the <saml:AuthnContext> element.

ReadAuthenticationStatement(XmlDictionaryReader)

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

ReadAuthorizationDecisionStatement(XmlDictionaryReader)

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

ReadConditions(XmlDictionaryReader)

Reads the <saml:Conditions> element.

ReadEncryptedId(XmlDictionaryReader)

Reads the <saml:EncryptedId> element.

ReadEvidence(XmlDictionaryReader)

Reads the <saml:Evidence> element.

ReadIssuer(XmlDictionaryReader)

Reads the <saml:Issuer> element.

ReadNameId(XmlDictionaryReader)

Reads the <saml:NameID> element.

ReadNameIdentifier(XmlDictionaryReader, String)

Deserializes the SAML SubjectId.

ReadProxyRestriction(XmlDictionaryReader)

Reads the <saml:ProxyRestriction> element, or a <saml:Condition> element that specifies an xsi:type of saml:ProxyRestrictionType.

ReadStatement(XmlDictionaryReader)

Reads the <saml:Statement> element.

ReadSubject(XmlDictionaryReader)

Reads the <saml:Subject> element.

ReadSubjectConfirmation(XmlDictionaryReader)

Reads the <SubjectConfirmation> element.

ReadSubjectConfirmationData(XmlDictionaryReader)

Reads the <saml:SubjectConfirmationData> element.

ReadSubjectLocality(XmlDictionaryReader)

Reads the <saml:SubjectLocality> element.

WriteAction(XmlWriter, Saml2Action)

Writes the <saml:Action> element.

WriteAdvice(XmlWriter, Saml2Advice)

Writes the <saml:Advice> element.

WriteAssertion(XmlWriter, Saml2Assertion)

Writes the <Assertion> element.

WriteAttribute(XmlWriter, Saml2Attribute)

Writes the <saml:Attribute> element.

WriteAttributeStatement(XmlWriter, Saml2AttributeStatement)

Writes the <saml:AttributeStatement> element.

WriteAudienceRestriction(XmlWriter, Saml2AudienceRestriction)

Writes the <saml:AudienceRestriction> element.

WriteAuthenticationContext(XmlWriter, Saml2AuthenticationContext)

Writes the <saml:AuthnContext> element.

WriteAuthenticationStatement(XmlWriter, Saml2AuthenticationStatement)

Writes the <saml:AuthnStatement> element.

WriteAuthorizationDecisionStatement(XmlWriter, Saml2AuthorizationDecisionStatement)

Writes the <saml:AuthzDecisionStatement> element.

WriteConditions(XmlWriter, Saml2Conditions)

Writes the <saml:Conditions> element.

WriteEvidence(XmlWriter, Saml2Evidence)

Writes the <saml:Evidence> element.

WriteIssuer(XmlWriter, Saml2NameIdentifier)

Writes the <saml:Issuer> element.

WriteNameId(XmlWriter, Saml2NameIdentifier)

Writes the <saml:NameID> element.

WriteNameIdType(XmlWriter, Saml2NameIdentifier)

Both <Issuer> and <NameID> are of NameIDType. Writes the content of either one of those elements.

WriteProxyRestriction(XmlWriter, Saml2ProxyRestriction)

Writes the <saml:ProxyRestriction> element.

WriteStatement(XmlWriter, Saml2Statement)

Writes a Saml2Statement.

WriteSubject(XmlWriter, Saml2Subject)

Writes the <saml:Subject> element.

WriteSubjectConfirmation(XmlWriter, Saml2SubjectConfirmation)

Writes the <saml:SubjectConfirmation> element.

WriteSubjectConfirmationData(XmlWriter, Saml2SubjectConfirmationData)

Writes the <saml:SubjectConfirmationData> element.

WriteSubjectLocality(XmlWriter, Saml2SubjectLocality)

Writes the <saml:SubjectLocality> element.

Applies to