KerberosSecurityTokenProvider KerberosSecurityTokenProvider KerberosSecurityTokenProvider KerberosSecurityTokenProvider Class

Definition

Represents a security token provider that provides KerberosRequestorSecurityToken security tokens for a SOAP message sender.

public ref class KerberosSecurityTokenProvider : System::IdentityModel::Selectors::SecurityTokenProvider
public class KerberosSecurityTokenProvider : System.IdentityModel.Selectors.SecurityTokenProvider
type KerberosSecurityTokenProvider = class
    inherit SecurityTokenProvider
Public Class KerberosSecurityTokenProvider
Inherits SecurityTokenProvider
Inheritance
KerberosSecurityTokenProviderKerberosSecurityTokenProviderKerberosSecurityTokenProviderKerberosSecurityTokenProvider

Remarks

In most instances the KerberosSecurityTokenProvider class doesn't need to be called directly, as it is called when a client sends a SOAP message that requires a KerberosRequestorSecurityToken security token. Specifically, a client specifies the type of security token needed using the ClientCredentials class and the ClientCredentials class calls the GetToken method to get a security token. When the security token needed is a KerberosRequestorSecurityToken security token, the GetToken method calls the GetTokenCore(TimeSpan) method.

Constructors

KerberosSecurityTokenProvider(String) KerberosSecurityTokenProvider(String) KerberosSecurityTokenProvider(String) KerberosSecurityTokenProvider(String)

Initializes a new instance of the KerberosSecurityTokenProvider class using the specified service principal name.

KerberosSecurityTokenProvider(String, TokenImpersonationLevel) KerberosSecurityTokenProvider(String, TokenImpersonationLevel) KerberosSecurityTokenProvider(String, TokenImpersonationLevel) KerberosSecurityTokenProvider(String, TokenImpersonationLevel)

Initializes a new instance of the KerberosSecurityTokenProvider class using the specified service principal name and whether a client allows a recipient of the KerberosRequestorSecurityToken security token to impersonate the client's credentials.

KerberosSecurityTokenProvider(String, TokenImpersonationLevel, NetworkCredential) KerberosSecurityTokenProvider(String, TokenImpersonationLevel, NetworkCredential) KerberosSecurityTokenProvider(String, TokenImpersonationLevel, NetworkCredential) KerberosSecurityTokenProvider(String, TokenImpersonationLevel, NetworkCredential)

Initializes a new instance of the KerberosSecurityTokenProvider class using the specified service principal name, client identity, and whether a client allows a recipient of the KerberosRequestorSecurityToken security token to impersonate the client's credentials.

Properties

NetworkCredential NetworkCredential NetworkCredential NetworkCredential

Gets the identity of the KerberosRequestorSecurityToken security token.

ServicePrincipalName ServicePrincipalName ServicePrincipalName ServicePrincipalName

Gets the service principal name of the KerberosRequestorSecurityToken security token to get.

SupportsTokenCancellation SupportsTokenCancellation SupportsTokenCancellation SupportsTokenCancellation

Gets a value that indicates whether the security token can be cancelled.

(Inherited from SecurityTokenProvider)
SupportsTokenRenewal SupportsTokenRenewal SupportsTokenRenewal SupportsTokenRenewal

Gets a value that indicates whether the security token is renewable.

(Inherited from SecurityTokenProvider)
TokenImpersonationLevel TokenImpersonationLevel TokenImpersonationLevel TokenImpersonationLevel

Gets a value that specifies the degree to which a recipient of the KerberosRequestorSecurityToken security token can act on behalf of the client.

Methods

BeginCancelToken(TimeSpan, SecurityToken, AsyncCallback, Object) BeginCancelToken(TimeSpan, SecurityToken, AsyncCallback, Object) BeginCancelToken(TimeSpan, SecurityToken, AsyncCallback, Object) BeginCancelToken(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
BeginCancelTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object) BeginCancelTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object) BeginCancelTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object) BeginCancelTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
BeginGetToken(TimeSpan, AsyncCallback, Object) BeginGetToken(TimeSpan, AsyncCallback, Object) BeginGetToken(TimeSpan, AsyncCallback, Object) BeginGetToken(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
BeginGetTokenCore(TimeSpan, AsyncCallback, Object) BeginGetTokenCore(TimeSpan, AsyncCallback, Object) BeginGetTokenCore(TimeSpan, AsyncCallback, Object) BeginGetTokenCore(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
BeginRenewToken(TimeSpan, SecurityToken, AsyncCallback, Object) BeginRenewToken(TimeSpan, SecurityToken, AsyncCallback, Object) BeginRenewToken(TimeSpan, SecurityToken, AsyncCallback, Object) BeginRenewToken(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation that renews a security token.

(Inherited from SecurityTokenProvider)
BeginRenewTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object) BeginRenewTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object) BeginRenewTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object) BeginRenewTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation that renews a security token.

(Inherited from SecurityTokenProvider)
CancelToken(TimeSpan, SecurityToken) CancelToken(TimeSpan, SecurityToken) CancelToken(TimeSpan, SecurityToken) CancelToken(TimeSpan, SecurityToken)

Cancels a security token.

(Inherited from SecurityTokenProvider)
CancelTokenCore(TimeSpan, SecurityToken) CancelTokenCore(TimeSpan, SecurityToken) CancelTokenCore(TimeSpan, SecurityToken) CancelTokenCore(TimeSpan, SecurityToken)

Cancels a security token.

(Inherited from SecurityTokenProvider)
EndCancelToken(IAsyncResult) EndCancelToken(IAsyncResult) EndCancelToken(IAsyncResult) EndCancelToken(IAsyncResult)

Completes an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
EndCancelTokenCore(IAsyncResult) EndCancelTokenCore(IAsyncResult) EndCancelTokenCore(IAsyncResult) EndCancelTokenCore(IAsyncResult)

Completes an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult)

Completes an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
EndGetTokenCore(IAsyncResult) EndGetTokenCore(IAsyncResult) EndGetTokenCore(IAsyncResult) EndGetTokenCore(IAsyncResult)

Completes an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
EndRenewToken(IAsyncResult) EndRenewToken(IAsyncResult) EndRenewToken(IAsyncResult) EndRenewToken(IAsyncResult)

Completes an asynchronous operation to renew a security token.

(Inherited from SecurityTokenProvider)
EndRenewTokenCore(IAsyncResult) EndRenewTokenCore(IAsyncResult) EndRenewTokenCore(IAsyncResult) EndRenewTokenCore(IAsyncResult)

Completes an asynchronous operation to renew the security token.

(Inherited from SecurityTokenProvider)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetToken(TimeSpan) GetToken(TimeSpan) GetToken(TimeSpan) GetToken(TimeSpan)

Gets a security token.

(Inherited from SecurityTokenProvider)
GetTokenCore(TimeSpan) GetTokenCore(TimeSpan) GetTokenCore(TimeSpan) GetTokenCore(TimeSpan)

Gets a KerberosRequestorSecurityToken security token.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RenewToken(TimeSpan, SecurityToken) RenewToken(TimeSpan, SecurityToken) RenewToken(TimeSpan, SecurityToken) RenewToken(TimeSpan, SecurityToken)

Renews a security token.

(Inherited from SecurityTokenProvider)
RenewTokenCore(TimeSpan, SecurityToken) RenewTokenCore(TimeSpan, SecurityToken) RenewTokenCore(TimeSpan, SecurityToken) RenewTokenCore(TimeSpan, SecurityToken)

Renews a security token.

(Inherited from SecurityTokenProvider)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also