SimpleWebSecurityTokenSerializer SimpleWebSecurityTokenSerializer Class

Represents a class to use to read and to write SimpleWebSecurityToken, SecurityKeyIdentifierClause, and SecurityKeyIdentifier objects as XML.

Syntax

Declaration

public class SimpleWebSecurityTokenSerializer : SecurityTokenSerializerPublic Class SimpleWebSecurityTokenSerializer
    Inherits SecurityTokenSerializer

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the SimpleWebSecurityTokenSerializer class.

Constructor.

Fields summary

Specifies an instance of theSimpleWebSecurityTokenSerializer class.

Methods summary

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

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

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

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

Determines whether this serializer can write the specified key identifier.

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

Reads the key identifier clause using the specified XML reader.

Reads the key identifier using the specified XML reader.

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

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

Writes the specified key identifier using the specified XML writer.

Writes the specifiedSimpleWebSecurityToken or security token using the specified XML writer.

Constructors

  • SimpleWebSecurityTokenSerializer()
    SimpleWebSecurityTokenSerializer()

    Initializes a new instance of the SimpleWebSecurityTokenSerializer class.

    public SimpleWebSecurityTokenSerializer()Public Sub New
  • SimpleWebSecurityTokenSerializer(SecurityTokenSerializer)
    SimpleWebSecurityTokenSerializer(SecurityTokenSerializer)

    Constructor.

    public SimpleWebSecurityTokenSerializer(SecurityTokenSerializer innerSerializer)Public Sub New(innerSerializer As SecurityTokenSerializer)

    Parameters

Fields

  • DefaultInstance
    DefaultInstance

    Specifies an instance of theSimpleWebSecurityTokenSerializer class.

    public static readonly SimpleWebSecurityTokenSerializer DefaultInstancePublic Shared ReadOnly DefaultInstance As SimpleWebSecurityTokenSerializer

Methods

Details

Namespace

Microsoft.ServiceBus

Assembly

Microsoft.ServiceBus.dll