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

Defines a SessionSecurityToken that contains data associated with a session.

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

Public Constructors

  Name Description
  SessionSecurityToken Overloaded.  


Public Properties

  Name Description
public property ClaimsPrincipal The IClaimsPrincipal associated with the session.
public property Context Gets the user specified value.
public property ContextId The Session Context Identifier
public property EndpointId Gets the Id of the endpoint to which this token is scoped.
public property Id Overridden. Gets the id of this token.
public property IsPersistent If true, cookie is written as a persistent cookie.
public property IsSessionMode If true, the SessionSecurityToken is operating in SessionMode.
public property KeyEffectiveTime The effective date/time of the key in this token
public property KeyExpirationTime The expiration date/time of the key in this token
public property KeyGeneration The identifier for the key generation in this token
public property SecureConversationVersion Returns the version of SecureConversation that is used to serialize this SessionSecurityToken.
public property SecurityKeys Overridden. Gets the keys associated with this session, usually a single key
public property ValidFrom Overridden. Gets the time instant from which the token is valid.
public property ValidTo Overridden. Gets the time instant after which the token is invalid.


Public Methods

(see also Protected Methods)

  Name Description
public method CanCreateKeyIdentifierClause  (Inherited from SecurityToken)
public method CreateKeyIdentifierClause  (Inherited from SecurityToken)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method MatchesKeyIdentifierClause  (Inherited from SecurityToken)
public method ResolveKeyIdentifierClause  (Inherited from SecurityToken)
public method ToString  (Inherited from Object)


Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)


See Also


SessionSecurityToken Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.