Export (0) Print
Expand All

IssuedSecurityTokenProvider Class

Represents a 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.

  NameDescription
Public methodIssuedSecurityTokenProviderInitializes a new instance of the IssuedSecurityTokenProvider class.
Top

  NameDescription
Public propertyCacheIssuedTokensGets or sets a value that indicates whether the issued tokens are cached.
Public propertyDefaultCloseTimeoutGets the default time-out for closing the connection.
Public propertyDefaultOpenTimeoutGets the default time-out for opening the connection.
Public propertyIdentityVerifierGets or sets the identity verifier.
Public propertyIssuedTokenRenewalThresholdPercentageGets or sets the issued token renewal threshold percentage.
Public propertyIssuerAddressGets or sets the issuer address.
Public propertyIssuerBindingGets or sets the issuer binding.
Public propertyIssuerChannelBehaviorsGets the issuer channel behaviors.
Public propertyKeyEntropyModeGets or sets the key entropy mode.
Public propertyMaxIssuedTokenCachingTimeGets or sets the maximum time that an issued token will be cached.
Public propertyMessageSecurityVersionGets or sets the message security version.
Public propertySecurityAlgorithmSuiteGets or sets the security algorithm suite.
Public propertySecurityTokenSerializerGets or sets the security token serializer.
Public propertyStateGets the communication state.
Public propertySupportsTokenCancellationGets a value that indicates whether token cancellation is supported. (Overrides SecurityTokenProvider.SupportsTokenCancellation.)
Public propertySupportsTokenRenewalGets a value that indicates whether the security token is renewable. (Inherited from SecurityTokenProvider.)
Public propertyTargetAddressGets or sets the target address.
Public propertyTokenRequestParametersGets the token request parameters.
Top

  NameDescription
Public methodAbortAborts the provider.
Public methodBeginCancelTokenBegins an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Protected methodBeginCancelTokenCoreBegins an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Public methodBeginClose(AsyncCallback, Object)Asynchronously begins closing the provider.
Public methodBeginClose(TimeSpan, AsyncCallback, Object)Asynchronously begins closing the provider.
Public methodBeginGetTokenBegins an asynchronous operation to get a security token. (Inherited from SecurityTokenProvider.)
Protected methodBeginGetTokenCoreAsynchronously begins getting the token core. (Overrides SecurityTokenProvider.BeginGetTokenCore(TimeSpan, AsyncCallback, Object).)
Public methodBeginOpen(AsyncCallback, Object)Asynchronously begins opening the provider.
Public methodBeginOpen(TimeSpan, AsyncCallback, Object)Asynchronously begins opening the provider.
Public methodBeginRenewTokenBegins an asynchronous operation that renews a security token. (Inherited from SecurityTokenProvider.)
Protected methodBeginRenewTokenCoreBegins an asynchronous operation that renews a security token. (Inherited from SecurityTokenProvider.)
Public methodCancelTokenCancels a security token. (Inherited from SecurityTokenProvider.)
Protected methodCancelTokenCoreCancels a security token. (Inherited from SecurityTokenProvider.)
Public methodClose()Closes the provider.
Public methodClose(TimeSpan)Closes the provider.
Public methodDisposeReleases all resources used by the current instance of the IssuedSecurityTokenProvider class.
Public methodEndCancelTokenCompletes an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Protected methodEndCancelTokenCoreCompletes an asynchronous operation to cancel a security token. (Inherited from SecurityTokenProvider.)
Public methodEndCloseEnds the asynchronous call for closing the provider.
Public methodEndGetTokenCompletes an asynchronous operation to get a security token. (Inherited from SecurityTokenProvider.)
Protected methodEndGetTokenCoreEnds the asynchronous call for getting the token core. (Overrides SecurityTokenProvider.EndGetTokenCore(IAsyncResult).)
Public methodEndOpenEnds the asynchronous call for opening the provider.
Public methodEndRenewTokenCompletes an asynchronous operation to renew a security token. (Inherited from SecurityTokenProvider.)
Protected methodEndRenewTokenCoreCompletes an asynchronous operation to renew the security token. (Inherited from SecurityTokenProvider.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTokenGets a security token. (Inherited from SecurityTokenProvider.)
Protected methodGetTokenCoreGets the token core. (Overrides SecurityTokenProvider.GetTokenCore(TimeSpan).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOpen()Opens the provider.
Public methodOpen(TimeSpan)Opens the provider.
Public methodRenewTokenRenews a security token. (Inherited from SecurityTokenProvider.)
Protected methodRenewTokenCoreRenews a security token. (Inherited from SecurityTokenProvider.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventClosedProvides registration and deregistration of event handler for the Closed event.
Public eventClosingProvides registration and deregistration of event handler for the Closing event.
Public eventFaultedProvides registration and deregistration of event handler for the Faulted event.
Public eventOpenedProvides registration and deregistration of event handler for the Opened event.
Public eventOpeningProvides registration and deregistration of event handler 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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft