IssuedSecurityTokenProvider Class

 

Represents a token provider for issued security tokens.

Namespace:   System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.IdentityModel.Selectors.SecurityTokenProvider
    System.ServiceModel.Security.Tokens.IssuedSecurityTokenProvider

public class IssuedSecurityTokenProvider : SecurityTokenProvider, 
	ICommunicationObject

NameDescription
System_CAPS_pubmethodIssuedSecurityTokenProvider()

Initializes a new instance of the IssuedSecurityTokenProvider class.

NameDescription
System_CAPS_pubpropertyCacheIssuedTokens

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

System_CAPS_pubpropertyDefaultCloseTimeout

Gets the default time-out for closing the connection.

System_CAPS_pubpropertyDefaultOpenTimeout

Gets the default time-out for opening the connection.

System_CAPS_pubpropertyIdentityVerifier

Gets or sets the identity verifier.

System_CAPS_pubpropertyIssuedTokenRenewalThresholdPercentage

Gets or sets the issued token renewal threshold percentage.

System_CAPS_pubpropertyIssuerAddress

Gets or sets the issuer address.

System_CAPS_pubpropertyIssuerBinding

Gets or sets the issuer binding.

System_CAPS_pubpropertyIssuerChannelBehaviors

Gets the issuer channel behaviors.

System_CAPS_pubpropertyKeyEntropyMode

Gets or sets the key entropy mode.

System_CAPS_pubpropertyMaxIssuedTokenCachingTime

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

System_CAPS_pubpropertyMessageSecurityVersion

Gets or sets the message security version.

System_CAPS_pubpropertySecurityAlgorithmSuite

Gets or sets the security algorithm suite.

System_CAPS_pubpropertySecurityTokenSerializer

Gets or sets the security token serializer.

System_CAPS_pubpropertyState

Gets the communication state.

System_CAPS_pubpropertySupportsTokenCancellation

Gets a value that indicates whether token cancellation is supported.(Overrides SecurityTokenProvider.SupportsTokenCancellation.)

System_CAPS_pubpropertySupportsTokenRenewal

Gets a value that indicates whether the security token is renewable. (Inherited from SecurityTokenProvider.)

System_CAPS_pubpropertyTargetAddress

Gets or sets the target address.

System_CAPS_pubpropertyTokenRequestParameters

Gets the token request parameters.

NameDescription
System_CAPS_pubmethodAbort()

Aborts the provider.

System_CAPS_pubmethodBeginCancelToken(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to cancel a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodBeginCancelTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to cancel a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_pubmethodBeginClose(AsyncCallback, Object)

Asynchronously begins closing the provider.

System_CAPS_pubmethodBeginClose(TimeSpan, AsyncCallback, Object)

Asynchronously begins closing the provider.

System_CAPS_pubmethodBeginGetToken(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodBeginGetTokenCore(TimeSpan, AsyncCallback, Object)

Asynchronously begins getting the token core.(Overrides SecurityTokenProvider.BeginGetTokenCore(TimeSpan, AsyncCallback, Object).)

System_CAPS_pubmethodBeginOpen(AsyncCallback, Object)

Asynchronously begins opening the provider.

System_CAPS_pubmethodBeginOpen(TimeSpan, AsyncCallback, Object)

Asynchronously begins opening the provider.

System_CAPS_pubmethodBeginRenewToken(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation that renews a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodBeginRenewTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation that renews a security token. (Inherited from SecurityTokenProvider.)

System_CAPS_pubmethodCancelToken(TimeSpan, SecurityToken)

Cancels a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodCancelTokenCore(TimeSpan, SecurityToken)

Cancels a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_pubmethodClose()

Closes the provider.

System_CAPS_pubmethodClose(TimeSpan)

Closes the provider.

System_CAPS_pubmethodDispose()

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

System_CAPS_pubmethodEndCancelToken(IAsyncResult)

Completes an asynchronous operation to cancel a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodEndCancelTokenCore(IAsyncResult)

Completes an asynchronous operation to cancel a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_pubmethodEndClose(IAsyncResult)

Ends the asynchronous call for closing the provider.

System_CAPS_pubmethodEndGetToken(IAsyncResult)

Completes an asynchronous operation to get a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodEndGetTokenCore(IAsyncResult)

Ends the asynchronous call for getting the token core.(Overrides SecurityTokenProvider.EndGetTokenCore(IAsyncResult).)

System_CAPS_pubmethodEndOpen(IAsyncResult)

Ends the asynchronous call for opening the provider.

System_CAPS_pubmethodEndRenewToken(IAsyncResult)

Completes an asynchronous operation to renew a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodEndRenewTokenCore(IAsyncResult)

Completes an asynchronous operation to renew the security token.(Inherited from SecurityTokenProvider.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetToken(TimeSpan)

Gets a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodGetTokenCore(TimeSpan)

Gets the token core.(Overrides SecurityTokenProvider.GetTokenCore(TimeSpan).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOpen()

Opens the provider.

System_CAPS_pubmethodOpen(TimeSpan)

Opens the provider.

System_CAPS_pubmethodRenewToken(TimeSpan, SecurityToken)

Renews a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_protmethodRenewTokenCore(TimeSpan, SecurityToken)

Renews a security token.(Inherited from SecurityTokenProvider.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubeventClosed

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

System_CAPS_pubeventClosing

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

System_CAPS_pubeventFaulted

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

System_CAPS_pubeventOpened

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

System_CAPS_pubeventOpening

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

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: