SALES: 1-800-867-1380

SimpleWebSecurityTokenSerializer Class

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

System.Object
  System.IdentityModel.Selectors.SecurityTokenSerializer
    Microsoft.ServiceBus.SimpleWebSecurityTokenSerializer

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public class SimpleWebSecurityTokenSerializer : SecurityTokenSerializer

The SimpleWebSecurityTokenSerializer type exposes the following members.

  NameDescription
Public methodSimpleWebSecurityTokenSerializer()Initializes a new instance of the SimpleWebSecurityTokenSerializer class.
Public methodSimpleWebSecurityTokenSerializer(SecurityTokenSerializer)Initializes a new instance of the SimpleWebSecurityTokenSerializer class with the specified security token serializer.
Top

  NameDescription
Public methodCanReadKeyIdentifier (Inherited from SecurityTokenSerializer.)
Public methodCanReadKeyIdentifierClause (Inherited from SecurityTokenSerializer.)
Protected methodCanReadKeyIdentifierClauseCoreDetermines whether this serializer can read the <KeyIdentifier> element referred by the specified XML reader. (Overrides SecurityTokenSerializer.CanReadKeyIdentifierClauseCore(XmlReader).)
Protected methodCanReadKeyIdentifierCoreDetermines whether this serializer can read the <KeyIdentifier> element referred by the specified XML reader. (Overrides SecurityTokenSerializer.CanReadKeyIdentifierCore(XmlReader).)
Public methodCanReadToken (Inherited from SecurityTokenSerializer.)
Protected methodCanReadTokenCoreDetermines whether this serializer can read the security token pointed at by the specified XML reader. (Overrides SecurityTokenSerializer.CanReadTokenCore(XmlReader).)
Public methodCanWriteKeyIdentifier (Inherited from SecurityTokenSerializer.)
Public methodCanWriteKeyIdentifierClause (Inherited from SecurityTokenSerializer.)
Protected methodCanWriteKeyIdentifierClauseCoreDetermines whether this serializer can write the specified key identifier clause. (Overrides SecurityTokenSerializer.CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause).)
Protected methodCanWriteKeyIdentifierCoreDetermines whether this serializer can write the specified key identifier. (Overrides SecurityTokenSerializer.CanWriteKeyIdentifierCore(SecurityKeyIdentifier).)
Public methodCanWriteToken (Inherited from SecurityTokenSerializer.)
Protected methodCanWriteTokenCoreDetermines whether this serializer can write the specified security token to XML. (Overrides SecurityTokenSerializer.CanWriteTokenCore(SecurityToken).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadKeyIdentifier (Inherited from SecurityTokenSerializer.)
Public methodReadKeyIdentifierClause (Inherited from SecurityTokenSerializer.)
Protected methodReadKeyIdentifierClauseCoreReads the key identifier clause using the specified XML reader. (Overrides SecurityTokenSerializer.ReadKeyIdentifierClauseCore(XmlReader).)
Protected methodReadKeyIdentifierCoreReads the key identifier using the specified XML reader. (Overrides SecurityTokenSerializer.ReadKeyIdentifierCore(XmlReader).)
Public methodReadToken (Inherited from SecurityTokenSerializer.)
Protected methodReadTokenCoreReads the SimpleWebSecurityToken or the security token pointed at by the specified XML reader. (Overrides SecurityTokenSerializer.ReadTokenCore(XmlReader, SecurityTokenResolver).)
Public methodToString (Inherited from Object.)
Public methodWriteKeyIdentifier (Inherited from SecurityTokenSerializer.)
Public methodWriteKeyIdentifierClause (Inherited from SecurityTokenSerializer.)
Protected methodWriteKeyIdentifierClauseCoreWrites the specified key identifier clause using the specified XML writer. (Overrides SecurityTokenSerializer.WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause).)
Protected methodWriteKeyIdentifierCoreWrites the specified key identifier using the specified XML writer. (Overrides SecurityTokenSerializer.WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier).)
Public methodWriteToken (Inherited from SecurityTokenSerializer.)
Protected methodWriteTokenCoreWrites the specified SimpleWebSecurityToken or security token using the specified XML writer. (Overrides SecurityTokenSerializer.WriteTokenCore(XmlWriter, SecurityToken).)
Top

  NameDescription
Public fieldStatic memberDefaultInstanceSpecifies an instance of the SimpleWebSecurityTokenSerializer class.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft