SecurityTokenSerializerAdapter Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

This class derives from System.ServiceModel.Security.WSSecurityTokenSerializer and wraps a collection of SecurityTokenHandlers. Any call to this serilaizer is delegated to the token handler and delegated to the base class if no token handler is registered to handle this particular token or KeyIdentifier.

The following tables list the members exposed by the SecurityTokenSerializerAdapter type.

Public Constructors

  Name Description
  SecurityTokenSerializerAdapter Overloaded.  

Top

Public Properties

  Name Description
public property EmitBspRequiredAttributes  (Inherited from WSSecurityTokenSerializer)
public property ExceptionMapper Gets or sets the ExceptionMapper to be used when throwing exceptions.
public property MapExceptionsToSoapFaults Gets or sets the property that describes if exceptions should be mapped to SOAP Fault exceptions. Default is false.
public property MaximumKeyDerivationLabelLength  (Inherited from WSSecurityTokenSerializer)
public property MaximumKeyDerivationNonceLength  (Inherited from WSSecurityTokenSerializer)
public property MaximumKeyDerivationOffset  (Inherited from WSSecurityTokenSerializer)
public property SecurityTokenHandlers Gets the SecurityTokenHandlerCollection.
public property SecurityVersion  (Inherited from WSSecurityTokenSerializer)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method CanReadKeyIdentifier  (Inherited from SecurityTokenSerializer)
public method CanReadKeyIdentifierClause  (Inherited from SecurityTokenSerializer)
public method CanReadToken  (Inherited from SecurityTokenSerializer)
public method CanWriteKeyIdentifier  (Inherited from SecurityTokenSerializer)
public method CanWriteKeyIdentifierClause  (Inherited from SecurityTokenSerializer)
public method CanWriteToken  (Inherited from SecurityTokenSerializer)
public method CreateKeyIdentifierClauseFromTokenXml  (Inherited from WSSecurityTokenSerializer)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ReadKeyIdentifier  (Inherited from SecurityTokenSerializer)
public method ReadKeyIdentifierClause  (Inherited from SecurityTokenSerializer)
public method ReadToken  (Inherited from SecurityTokenSerializer)
public method ToString  (Inherited from Object)
public method WriteKeyIdentifier  (Inherited from SecurityTokenSerializer)
public method WriteKeyIdentifierClause  (Inherited from SecurityTokenSerializer)
public method WriteToken  (Inherited from SecurityTokenSerializer)

Top

Protected Methods

  Name Description
protected method CanReadKeyIdentifierClauseCore Overridden. Checks if the wrapped SecurityTokenHandler or the base WSSecurityTokenSerializer can read the SecurityKeyIdentifierClause.
protected method CanReadKeyIdentifierCore Overridden. Checks if one of the wrapped SecurityTokenHandlers or the base WSSecurityTokenSerializer can read the security key identifier.
protected method CanReadTokenCore Overridden. Checks if one of the wrapped SecurityTokenHandlers or the base WSSecurityTokenSerializer can read the security token.
protected method CanWriteKeyIdentifierClauseCore Overridden. Checks if the wrapped SecurityTokenHandler or the base WSSecurityTokenSerializer can write the given SecurityKeyIdentifierClause.
protected method CanWriteKeyIdentifierCore  Overridden. (Inherited from SecurityTokenSerializer)
protected method CanWriteTokenCore Overridden. Checks if one of the wrapped SecurityTokenHandlers or the base WSSecurityTokenSerializer can write the given security token.
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method ReadKeyIdentifierClauseCore Overridden. Deserializes a SecurityKeyIdentifierClause from the given reader.
protected method ReadKeyIdentifierCore Overridden. Reads an SecurityKeyIdentifier from a XML stream.
protected method ReadTokenCore Overridden. Deserializes the SecurityToken from the given XmlReader.
protected method WriteKeyIdentifierClauseCore Overridden. Serializes the given SecurityKeyIdentifierClause in a XmlWriter.
protected method WriteKeyIdentifierCore  Overridden. (Inherited from SecurityTokenSerializer)
protected method WriteTokenCore Overridden. Serializes the SecurityToken to the XmlWriter.

Top

See Also

Reference

SecurityTokenSerializerAdapter Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.