This topic has not yet been rated - Rate this topic

IssuedSecurityTokenProvider Class

Token provider for issued security tokens.

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

Namespace:  System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
public class IssuedSecurityTokenProvider : SecurityTokenProvider, 
	ICommunicationObject

The IssuedSecurityTokenProvider type exposes the following members.

  Name Description
Public method IssuedSecurityTokenProvider Creates a new instance of this class.
Top
  Name Description
Public property CacheIssuedTokens Gets or sets a value that indicates whether to cache issued tokens.
Public property DefaultCloseTimeout Gets the default time-out for closing the connection.
Public property DefaultOpenTimeout Gets the default time-out for opening the connection.
Public property IdentityVerifier Gets or sets the identity verifier.
Public property IssuedTokenRenewalThresholdPercentage Gets or sets the issued token renewal threshold percentage.
Public property IssuerAddress Gets or sets the issuer address.
Public property IssuerBinding Gets or sets the issuer binding.
Public property IssuerChannelBehaviors Gets or sets the issuer channel behaviors.
Public property KeyEntropyMode Gets or sets the key entropy mode.
Public property MaxIssuedTokenCachingTime Gets or sets the maximum time that an issued token will be cached.
Public property MessageSecurityVersion Gets or sets the message security version.
Public property SecurityAlgorithmSuite Gets or sets the security algorithm suite.
Public property SecurityTokenSerializer Gets or sets the security token serializer.
Public property State Gets the communication state.
Public property SupportsTokenCancellation Gets a value that indicates whether token cancellation is supported. (Overrides SecurityTokenProvider.SupportsTokenCancellation.)
Public property SupportsTokenRenewal Gets a value that indicates whether the security token is renewable. (Inherited from SecurityTokenProvider.)
Public property TargetAddress Gets or sets the target address.
Public property TokenRequestParameters Gets the token request parameters.
Top
  Name Description
Public method Abort Aborts the provider.
Public method BeginCancelToken Begins an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Protected method BeginCancelTokenCore Begins an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Public method BeginClose(AsyncCallback, Object) Asynchronously begins closing the provider.
Public method BeginClose(TimeSpan, AsyncCallback, Object) Asynchronously begins closing the provider.
Public method BeginGetToken Begins an asynchronous operation to get a security token. (Inherited from SecurityTokenProvider.)
Protected method BeginGetTokenCore Asynchronously begins getting the token core. (Overrides SecurityTokenProvider.BeginGetTokenCore(TimeSpan, AsyncCallback, Object).)
Public method BeginOpen(AsyncCallback, Object) Asynchronously begins opening the provider.
Public method BeginOpen(TimeSpan, AsyncCallback, Object) Asynchronously begins opening the provider.
Public method BeginRenewToken Begins an asynchronous operation that renews a security token. (Inherited from SecurityTokenProvider.)
Protected method BeginRenewTokenCore Begins an asynchronous operation that renews a security token. (Inherited from SecurityTokenProvider.)
Public method CancelToken Cancels a security token. (Inherited from SecurityTokenProvider.)
Protected method CancelTokenCore Cancels a security token. (Inherited from SecurityTokenProvider.)
Public method Close() Closes the provider.
Public method Close(TimeSpan) Closes the provider.
Public method Dispose Disposes of this instance of the object.
Public method EndCancelToken Completes an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Protected method EndCancelTokenCore Completes an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Public method EndClose The asynchronous callback for closing the provider.
Public method EndGetToken Completes an asynchronous operation to get a security token. (Inherited from SecurityTokenProvider.)
Protected method EndGetTokenCore The asynchronous callback for getting the token core. (Overrides SecurityTokenProvider.EndGetTokenCore(IAsyncResult).)
Public method EndOpen The asynchronous callback for opening the provider.
Public method EndRenewToken Completes an asynchronous operation to renew a security token. (Inherited from SecurityTokenProvider.)
Protected method EndRenewTokenCore Completes an asynchronous operation to renew the security token. (Inherited from SecurityTokenProvider.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetToken Gets a security token. (Inherited from SecurityTokenProvider.)
Protected method GetTokenCore Gets the token core. (Overrides SecurityTokenProvider.GetTokenCore(TimeSpan).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open() Opens the provider.
Public method Open(TimeSpan) Opens the provider.
Public method RenewToken Renews a security token. (Inherited from SecurityTokenProvider.)
Protected method RenewTokenCore Renews a security token. (Inherited from SecurityTokenProvider.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public event Closed Provides registration and deregistration for the Closed event.
Public event Closing Provides registration and deregistration for the Closing event.
Public event Faulted Provides registration and deregistration for the Faulted event.
Public event Opened Provides registration and deregistration for the Opened event.
Public event Opening Provides registration and deregistration for the Opening event.
Top

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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ