Επεξεργασία

Κοινή χρήση μέσω


SspiSecurityToken Class

Definition

Represents an SSPI security token.

public ref class SspiSecurityToken : System::IdentityModel::Tokens::SecurityToken
public class SspiSecurityToken : System.IdentityModel.Tokens.SecurityToken
type SspiSecurityToken = class
    inherit SecurityToken
Public Class SspiSecurityToken
Inherits SecurityToken
Inheritance
SspiSecurityToken

Constructors

SspiSecurityToken(NetworkCredential, Boolean, Boolean)

Initializes a new instance of the SspiSecurityToken class.

SspiSecurityToken(TokenImpersonationLevel, Boolean, NetworkCredential)

Initializes a new instance of the SspiSecurityToken class.

Properties

AllowNtlm

Gets a value that indicates whether to allow NTLM authentication.

AllowUnauthenticatedCallers

Gets a value that indicates whether to allow anonymous callers.

ExtractGroupsForWindowsAccounts

Gets a value that indicates whether to extract the groups to which the Windows accounts belong.

Id

Gets the token ID.

ImpersonationLevel

Gets the token impersonation level.

NetworkCredential

Gets the network credential.

SecurityKeys

Gets a collection of security keys.

ValidFrom

Gets the starting effective date for the token.

ValidTo

Gets the expiration date for the token.

Methods

CanCreateKeyIdentifierClause<T>()

Gets a value that indicates whether this security token is capable of creating the specified key identifier.

(Inherited from SecurityToken)
CreateKeyIdentifierClause<T>()

Creates the specified key identifier clause.

(Inherited from SecurityToken)
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)

Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier.

(Inherited from SecurityToken)
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()

Returns a string that represents the current object.

(Inherited from Object)

Applies to