IssuedSecurityTokenProvider IssuedSecurityTokenProvider IssuedSecurityTokenProvider IssuedSecurityTokenProvider Class

Definition

Represents a token provider for issued security tokens.

public ref class IssuedSecurityTokenProvider : System::IdentityModel::Selectors::SecurityTokenProvider, System::ServiceModel::ICommunicationObject
public class IssuedSecurityTokenProvider : System.IdentityModel.Selectors.SecurityTokenProvider, System.ServiceModel.ICommunicationObject
type IssuedSecurityTokenProvider = class
    inherit SecurityTokenProvider
    interface ICommunicationObject
Public Class IssuedSecurityTokenProvider
Inherits SecurityTokenProvider
Implements ICommunicationObject
Inheritance
IssuedSecurityTokenProviderIssuedSecurityTokenProviderIssuedSecurityTokenProviderIssuedSecurityTokenProvider
Implements

Remarks

Care must be taken when caching and reusing security tokens that are returned from the GetTokenCore method, because the security token might become unusable when the channel that the token provider is associated with is closed. The security token becomes unusable when the requested key type is asymmetric and the thread is running under impersonated context when the GetTokenCore method is called.

Constructors

IssuedSecurityTokenProvider() IssuedSecurityTokenProvider() IssuedSecurityTokenProvider() IssuedSecurityTokenProvider()

Initializes a new instance of the IssuedSecurityTokenProvider class.

Properties

CacheIssuedTokens CacheIssuedTokens CacheIssuedTokens CacheIssuedTokens

Gets or sets a value that indicates whether the issued tokens are cached.

DefaultCloseTimeout DefaultCloseTimeout DefaultCloseTimeout DefaultCloseTimeout

Gets the default time-out for closing the connection.

DefaultOpenTimeout DefaultOpenTimeout DefaultOpenTimeout DefaultOpenTimeout

Gets the default time-out for opening the connection.

IdentityVerifier IdentityVerifier IdentityVerifier IdentityVerifier

Gets or sets the identity verifier.

IssuedTokenRenewalThresholdPercentage IssuedTokenRenewalThresholdPercentage IssuedTokenRenewalThresholdPercentage IssuedTokenRenewalThresholdPercentage

Gets or sets the issued token renewal threshold percentage.

IssuerAddress IssuerAddress IssuerAddress IssuerAddress

Gets or sets the issuer address.

IssuerBinding IssuerBinding IssuerBinding IssuerBinding

Gets or sets the issuer binding.

IssuerChannelBehaviors IssuerChannelBehaviors IssuerChannelBehaviors IssuerChannelBehaviors

Gets the issuer channel behaviors.

KeyEntropyMode KeyEntropyMode KeyEntropyMode KeyEntropyMode

Gets or sets the key entropy mode.

MaxIssuedTokenCachingTime MaxIssuedTokenCachingTime MaxIssuedTokenCachingTime MaxIssuedTokenCachingTime

Gets or sets the maximum time that an issued token will be cached.

MessageSecurityVersion MessageSecurityVersion MessageSecurityVersion MessageSecurityVersion

Gets or sets the message security version.

SecurityAlgorithmSuite SecurityAlgorithmSuite SecurityAlgorithmSuite SecurityAlgorithmSuite

Gets or sets the security algorithm suite.

SecurityTokenSerializer SecurityTokenSerializer SecurityTokenSerializer SecurityTokenSerializer

Gets or sets the security token serializer.

State State State State

Gets the communication state.

SupportsTokenCancellation SupportsTokenCancellation SupportsTokenCancellation SupportsTokenCancellation

Gets a value that indicates whether token cancellation is supported.

SupportsTokenRenewal SupportsTokenRenewal SupportsTokenRenewal SupportsTokenRenewal

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

(Inherited from SecurityTokenProvider)
TargetAddress TargetAddress TargetAddress TargetAddress

Gets or sets the target address.

TokenRequestParameters TokenRequestParameters TokenRequestParameters TokenRequestParameters

Gets the token request parameters.

Methods

Abort() Abort() Abort() Abort()

Aborts the provider.

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)
BeginClose(AsyncCallback, Object) BeginClose(AsyncCallback, Object) BeginClose(AsyncCallback, Object) BeginClose(AsyncCallback, Object)

Asynchronously begins closing the provider.

BeginClose(TimeSpan, AsyncCallback, Object) BeginClose(TimeSpan, AsyncCallback, Object) BeginClose(TimeSpan, AsyncCallback, Object) BeginClose(TimeSpan, AsyncCallback, Object)

Asynchronously begins closing the provider.

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)

Asynchronously begins getting the token core.

BeginOpen(AsyncCallback, Object) BeginOpen(AsyncCallback, Object) BeginOpen(AsyncCallback, Object) BeginOpen(AsyncCallback, Object)

Asynchronously begins opening the provider.

BeginOpen(TimeSpan, AsyncCallback, Object) BeginOpen(TimeSpan, AsyncCallback, Object) BeginOpen(TimeSpan, AsyncCallback, Object) BeginOpen(TimeSpan, AsyncCallback, Object)

Asynchronously begins opening the provider.

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

Closes the provider.

Close(TimeSpan) Close(TimeSpan) Close(TimeSpan) Close(TimeSpan)

Closes the provider.

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the current instance of the IssuedSecurityTokenProvider class.

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)
EndClose(IAsyncResult) EndClose(IAsyncResult) EndClose(IAsyncResult) EndClose(IAsyncResult)

Ends the asynchronous call for closing the provider.

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)

Ends the asynchronous call for getting the token core.

EndOpen(IAsyncResult) EndOpen(IAsyncResult) EndOpen(IAsyncResult) EndOpen(IAsyncResult)

Ends the asynchronous call for opening the provider.

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 the token core.

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

Opens the provider.

Open(TimeSpan) Open(TimeSpan) Open(TimeSpan) Open(TimeSpan)

Opens the provider.

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)

Events

Closed Closed Closed Closed

Provides registration and deregistration of event handler for the Closed event.

Closing Closing Closing Closing

Provides registration and deregistration of event handler for the Closing event.

Faulted Faulted Faulted Faulted

Provides registration and deregistration of event handler for the Faulted event.

Opened Opened Opened Opened

Provides registration and deregistration of event handler for the Opened event.

Opening Opening Opening Opening

Provides registration and deregistration of event handler for the Opening event.

Applies to