Επεξεργασία

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


KerberosReceiverSecurityToken Class

Definition

Represents a security token that is based upon a Kerberos ticket that is received in a SOAP message.

public ref class KerberosReceiverSecurityToken : System::IdentityModel::Tokens::WindowsSecurityToken
public class KerberosReceiverSecurityToken : System.IdentityModel.Tokens.WindowsSecurityToken
type KerberosReceiverSecurityToken = class
    inherit WindowsSecurityToken
Public Class KerberosReceiverSecurityToken
Inherits WindowsSecurityToken
Inheritance
KerberosReceiverSecurityToken

Remarks

Typically, application developers do not need to use the KerberosReceiverSecurityToken class.

There are two classes that represent security tokens that are based upon a Kerberos ticket: KerberosRequestorSecurityToken and KerberosReceiverSecurityToken. The KerberosRequestorSecurityToken security token is used by clients that use the KerberosRequestorSecurityToken security token in outgoing SOAP messages, whereas the KerberosReceiverSecurityToken security token is used by a Web service that receives SOAP messages that contain the security token.

Constructors

KerberosReceiverSecurityToken(Byte[], String, String)

Creates a new instance of KerberosReceiverSecurityToken.

KerberosReceiverSecurityToken(Byte[], String)

Initializes a new instance of the KerberosReceiverSecurityToken class using the specified Kerberos ticket and unique identifier.

KerberosReceiverSecurityToken(Byte[])

Initializes a new instance of the KerberosReceiverSecurityToken class using the specified Kerberos ticket.

Properties

AuthenticationType

Gets the authentication type for the token.

(Inherited from WindowsSecurityToken)
Id

Gets the unique identifier for the security token.

(Inherited from WindowsSecurityToken)
SecurityKey

Gets the symmetric session key for the Kerberos ticket that is associated with this security token.

SecurityKeys

Gets the cryptographic keys associated with the security token.

ValidFrom

Gets the first instant in time at which this security token is valid.

ValidTo

Gets the last instant in time at which this security token is valid.

ValueTypeUri

Gets the URI that describes the value type.

WindowsIdentity

Gets the Windows user associated with this security token.

Methods

CanCreateKeyIdentifierClause<T>()

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

CreateKeyIdentifierClause<T>()

Creates the specified key identifier clause.

Dispose()

Releases all resources used by the WindowsSecurityToken.

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

Gets the Kerberos ticket.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(String, DateTime, DateTime, WindowsIdentity, Boolean)

Initializes a new instance of the WindowsSecurityToken class using the specified unique identifier, Windows user, and the first and last instants in time when the security token is valid.

(Inherited from WindowsSecurityToken)
Initialize(String, String, DateTime, DateTime, WindowsIdentity, Boolean)

Initializes a new instance of the WindowsSecurityToken class.

(Inherited from WindowsSecurityToken)
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance matches the specified key identifier.

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)
ThrowIfDisposed()

Throws an exception if the Dispose() method has been called for this instance.

(Inherited from WindowsSecurityToken)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to