共用方式為


SimpleWebSecurityTokenSerializer Class

Definition

Represents a class to use to read and to write SimpleWebSecurityToken, Microsoft.ServiceBus.JsonSecurityToken, SecurityKeyIdentifierClause, and SecurityKeyIdentifier objects as XML. This class is intended for internal use only, and kept public only due to compatibility reasons.

public class SimpleWebSecurityTokenSerializer : System.IdentityModel.Selectors.SecurityTokenSerializer
type SimpleWebSecurityTokenSerializer = class
    inherit SecurityTokenSerializer
Public Class SimpleWebSecurityTokenSerializer
Inherits SecurityTokenSerializer
Inheritance
SimpleWebSecurityTokenSerializer

Constructors

SimpleWebSecurityTokenSerializer()

This class is intended for internal use only, and kept public only due to compatibility reasons.

SimpleWebSecurityTokenSerializer(SecurityTokenSerializer)

This class is intended for internal use only, and kept public only due to compatibility reasons.

Fields

DefaultInstance

Specifies an instance of the SimpleWebSecurityTokenSerializer class.

Methods

CanReadKeyIdentifierClauseCore(XmlReader)

Determines whether this serializer can read the <KeyIdentifier> element referred by the specified XML reader.

CanReadKeyIdentifierCore(XmlReader)

Determines whether this serializer can read the <KeyIdentifier> element referred by the specified XML reader.

CanReadTokenCore(XmlReader)

Determines whether this serializer can read the security token pointed at by the specified XML reader.

CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause)

Determines whether this serializer can write the specified key identifier clause.

CanWriteKeyIdentifierCore(SecurityKeyIdentifier)

Determines whether this serializer can write the specified key identifier.

CanWriteTokenCore(SecurityToken)

Determines whether this serializer can write the specified security token to XML.

ReadKeyIdentifierClauseCore(XmlReader)

Reads the key identifier clause using the specified XML reader.

ReadKeyIdentifierCore(XmlReader)

Reads the key identifier using the specified XML reader.

ReadTokenCore(XmlReader, SecurityTokenResolver)

Reads the security token pointed at by the specified XML reader.

WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause)

Writes the specified key identifier clause using the specified XML writer.

WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier)

Writes the specified key identifier using the specified XML writer.

WriteTokenCore(XmlWriter, SecurityToken)

Writes the specified SecurityToken using the specified XML writer.

Applies to