ערוך

שתף באמצעות


SecurityContextSecurityToken Class

Definition

Represents the token defined by the WS-SecureConversation specification.

public ref class SecurityContextSecurityToken : System::IdentityModel::Tokens::SecurityToken, IDisposable
public class SecurityContextSecurityToken : System.IdentityModel.Tokens.SecurityToken, IDisposable
type SecurityContextSecurityToken = class
    inherit SecurityToken
    interface TimeBoundedCache.IExpirableItem
    interface IDisposable
Public Class SecurityContextSecurityToken
Inherits SecurityToken
Implements IDisposable
Inheritance
SecurityContextSecurityToken
Implements

Remarks

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.

Constructors

SecurityContextSecurityToken(UniqueId, Byte[], DateTime, DateTime)

Initializes a new instance of the SecurityContextSecurityToken class.

SecurityContextSecurityToken(UniqueId, String, Byte[], DateTime, DateTime)

Initializes a new instance of the SecurityContextSecurityToken class.

SecurityContextSecurityToken(UniqueId, String, Byte[], DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>)

Initializes a new instance of the SecurityContextSecurityToken class.

SecurityContextSecurityToken(UniqueId, String, Byte[], DateTime, DateTime, UniqueId, DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>)

Initializes a new instance of the SecurityContextSecurityToken class.

Properties

AuthorizationPolicies

Gets a read-only collection of token authorization policies.

BootstrapMessageProperty

Gets or sets the SecurityMessageProperty extracted from the bootstrap message.

ContextId

Gets the context id.

Id

Gets the token id.

IsCookieMode

Gets a value that indicates whether a security context token (SCT) with a mode setting that specifies how cookies are handled is read in.

KeyEffectiveTime

Gets the key effective start time.

KeyExpirationTime

Gets the key expiration time.

KeyGeneration

Gets the key generation.

SecurityKeys

Gets a read-only collection of security keys.

ValidFrom

Gets the token effective start time.

ValidTo

Gets the token expiration time.

Methods

CanCreateKeyIdentifierClause<T>()

Indicates whether a specified key identifier clause type can be created.

CreateCookieSecurityContextToken(UniqueId, String, Byte[], DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>, SecurityStateEncoder)

Creates a security context token cookie.

CreateCookieSecurityContextToken(UniqueId, String, Byte[], DateTime, DateTime, UniqueId, DateTime, DateTime, ReadOnlyCollection<IAuthorizationPolicy>, SecurityStateEncoder)

Creates a security context token cookie.

CreateKeyIdentifierClause<T>()

Creates a key identifier clause of a specified type.

Dispose()

Releases unmanaged resources used by this instance of this object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

Indicates whether the current token's key identifier clause matches a specified key identifier clause.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

Gets the key for the specified key identifier clause.

(Inherited from SecurityToken)
ToString()

Generates a text representation of the current instance of this object.

Applies to