Share via


SessionSecurityTokenCookieSerializer 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.]

Implements serialization and deserialization of a given SessionSecurityToken into a self-contained cookie.

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

Public Constructors

  Name Description
  SessionSecurityTokenCookieSerializer Overloaded.  

Top

Public Properties

  Name Description
public property BootstrapTokenHandler Gets the SecurityTokenHandlerCollection used to serialize and deserialize security tokens.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Deserialize Deserializes a cookie blob to reconstruct the SessionSecurityToken
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method Serialize Serializes the given SessionSecurityToken as a cookie blob.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method DeserializeSysClaim Deserializes a WCF claim.
protected method Finalize  (Inherited from Object)
protected method GetUpn Returns a User Principal Name from a windows logon name.
protected method MemberwiseClone  (Inherited from Object)
protected method ReadBootstrapToken Reads a BoostrapToken from a XmlDictionaryReader.
protected method ReadClaimProperties Reads ClaimProperties from a XmlDictionaryReader and adds them to a Dictionary.
protected method ReadClaims Reads Claims from a XmlDictionaryReader and adds them to a ClaimCollection.
protected method ReadIdentities Reads the ClaimsIdentites from a XmlDictionaryReader and adds them to a ClaimIdentityColleciton.
protected method ReadIdentity Reads a single IClaimsIdentity from a XmlDictionaryReader.
protected method ReadPrincipal Reads a IClaimsPrincipal from a XmlDictionaryReader.
protected method SerializeSysClaim Serializes the given Claim to the given XmlDictionaryWriter.
protected method WriteBootstrapToken Writes a SecurityToken into an XmlDictionaryWriter.
protected method WriteClaimProperties Writes a collection of ClaimProperties using a XmlDictionaryWriter.
protected method WriteClaims Writes a collection of claims using a XmlDictionaryWriter.
protected method WriteIdentities Writes a collection of ClaimsIdentity using a XmlDictionaryWriter.
protected method WriteIdentity Writes a single IClaimsIdentity using a XmlDictionaryWriter.
protected method WritePrincipal Writes out a IClaimsPrincipal using a XmlDictionaryWriter.

Top

See Also

Reference

SessionSecurityTokenCookieSerializer Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.