Export (0) Print
Expand All

SecurityContextSecurityToken Class

Represents the token defined by the WS-SecureConversation specification.

System.Object
  System.IdentityModel.Tokens.SecurityToken
    System.ServiceModel.Security.Tokens.SecurityContextSecurityToken

Namespace:  System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public class SecurityContextSecurityToken : SecurityToken, 
	IDisposable

The SecurityContextSecurityToken type exposes the following members.

  NameDescription
Public methodSecurityContextSecurityToken(UniqueId, Byte[], DateTime, DateTime)Initializes a new instance of the SecurityContextSecurityToken class.
Public methodSecurityContextSecurityToken(UniqueId, String, Byte[], DateTime, DateTime)Initializes a new instance of the SecurityContextSecurityToken class.
Public methodSecurityContextSecurityToken(UniqueId, String, Byte[], DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>)Initializes a new instance of the SecurityContextSecurityToken class.
Public methodSecurityContextSecurityToken(UniqueId, String, Byte[], DateTime, DateTime, UniqueId, DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>)Initializes a new instance of the SecurityContextSecurityToken class.
Top

  NameDescription
Public propertyAuthorizationPoliciesGets a read-only collection of token authorization policies.
Public propertyBootstrapMessagePropertyGets or sets the SecurityMessageProperty extracted from the bootstrap message.
Public propertyContextIdGets the context id.
Public propertyIdGets the token id. (Overrides SecurityToken.Id.)
Public propertyIsCookieModeGets a value that indicates whether a security context token (SCT) with a mode setting that specifies how cookies are handled is read in.
Public propertyKeyEffectiveTimeGets the key effective start time.
Public propertyKeyExpirationTimeGets the key expiration time.
Public propertyKeyGenerationGets the key generation.
Public propertySecurityKeysGets a read-only collection of security keys. (Overrides SecurityToken.SecurityKeys.)
Public propertyValidFromGets the token effective start time. (Overrides SecurityToken.ValidFrom.)
Public propertyValidToGets the token expiration time. (Overrides SecurityToken.ValidTo.)
Top

  NameDescription
Public methodCanCreateKeyIdentifierClause<T>Indicates whether a specified key identifier clause type can be created. (Overrides SecurityToken.CanCreateKeyIdentifierClause<T>().)
Public methodStatic memberCreateCookieSecurityContextToken(UniqueId, String, Byte[], DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>, SecurityStateEncoder)Creates a security context token cookie.
Public methodStatic memberCreateCookieSecurityContextToken(UniqueId, String, Byte[], DateTime, DateTime, UniqueId, DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>, SecurityStateEncoder)Creates a security context token cookie.
Public methodCreateKeyIdentifierClause<T>Creates a key identifier clause of a specified type. (Overrides SecurityToken.CreateKeyIdentifierClause<T>().)
Public methodDisposeReleases unmanaged resources used by this instance of this object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMatchesKeyIdentifierClauseIndicates whether the current token's key identifier clause matches a specified key identifier clause. (Overrides SecurityToken.MatchesKeyIdentifierClause(SecurityKeyIdentifierClause).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodResolveKeyIdentifierClauseGets the key for the specified key identifier clause. (Inherited from SecurityToken.)
Public methodToStringGenerates a text representation of the current instance of this object. (Overrides Object.ToString().)
Top

An instance of this class contains key material along with authentication information that represents the client. The user selects the particular cryptographic algorithm to use with it.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft