SALG : 1-800-867-1389
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

TokenProvider Class

 

Represents a security token provider with built-in factory methods returning some well-known token providers.

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)


public abstract class TokenProvider

NameDescription
System_CAPS_protmethodTokenProvider(Boolean, Boolean)

Initializes a new instance of the TokenProvider class.

System_CAPS_protmethodTokenProvider(Boolean, Boolean, Int32, TokenScope)

Initializes a new instance of the TokenProvider class.

System_CAPS_protmethodTokenProvider(Boolean, Boolean, TokenScope)

Initializes a new instance of the TokenProvider class.

NameDescription
System_CAPS_pubpropertyCacheSize

Gets or sets the size of the cache.

System_CAPS_pubpropertyCacheTokens

Gets or sets a value that indicates whether new security tokens are being cached.

System_CAPS_pubpropertyIsWebTokenSupported

Gets or sets a value that indicates whether web token is supported by this provider.

System_CAPS_protpropertyStripQueryParameters

Gets whether the token provider strips query parameters.

System_CAPS_pubpropertyTokenScope

Gets or sets the token scope associated with the provider.

NameDescription
System_CAPS_pubmethodBeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.

System_CAPS_pubmethodBeginGetWebToken(String, String, Boolean, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a web token.

System_CAPS_protmethodBuildKey(String, String)

Generates a key for the token provider.

System_CAPS_pubmethodClear()

Clears the token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateOAuthTokenProvider(IEnumerable<Uri>, NetworkCredential)

Creates an OAuth (open standard for authorization) token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSamlTokenProvider(String)

Creates a SAML token provider with the specified SAML token.

System_CAPS_pubmethodSystem_CAPS_staticCreateSamlTokenProvider(String, TokenScope)

Creates a SAML token provider with the specified SAML token and scope.

System_CAPS_pubmethodSystem_CAPS_staticCreateSamlTokenProvider(String, Uri)

Creates a SAML token provider with the specified SAML token and URI of the Security Token Service (STS).

System_CAPS_pubmethodSystem_CAPS_staticCreateSamlTokenProvider(String, Uri, Int32)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and cache size.

System_CAPS_pubmethodSystem_CAPS_staticCreateSamlTokenProvider(String, Uri, Int32, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS), cache size and token scope.

System_CAPS_pubmethodSystem_CAPS_staticCreateSamlTokenProvider(String, Uri, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and token scope.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedAccessSignatureTokenProvider(String)

Creates a URL that grants access to the token provider with the specified shared access signature.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedAccessSignatureTokenProvider(String, String)

Creates a URL that grants access to the token provider with the specified key name and shared access key.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedAccessSignatureTokenProvider(String, String, TimeSpan)

Creates a URL that grants access to the token provider with the specified key name, shared access key and token time to live.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope)

Creates a URL that grants access to the token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedAccessSignatureTokenProvider(String, String, TokenScope)

Creates a URL that grants access to the token provider with the specified key name, shared access key and token scope.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, Byte[])

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, Byte[], TokenScope)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, Byte[], Uri)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, Byte[], Uri, TokenScope)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, String)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, String, TokenScope)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, String, Uri)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSharedSecretTokenProvider(String, String, Uri, TokenScope)

Creates a shared secret token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSimpleWebTokenProvider(String)

Creates a simple web token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSimpleWebTokenProvider(String, TokenScope)

Creates a simple web token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSimpleWebTokenProvider(String, Uri)

Creates a simple web token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateSimpleWebTokenProvider(String, Uri, TokenScope)

Creates a simple web token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateWindowsTokenProvider(IEnumerable<Uri>)

Creates a windows token provider.

System_CAPS_pubmethodSystem_CAPS_staticCreateWindowsTokenProvider(IEnumerable<Uri>, NetworkCredential)

Creates a windows token provider.

System_CAPS_pubmethodEndGetToken(IAsyncResult)

Completes an asynchronous operation to get a security token.

System_CAPS_pubmethodEndGetWebToken(IAsyncResult)

Completes an asynchronous operation to get a web token.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetTokenAsync(String, String, Boolean, TimeSpan)

Asynchronously retrieves the token for the provider.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetWebTokenAsync(String, String, Boolean, TimeSpan)

Asynchronously retrieves the web token for the provider.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodNormalizeAppliesTo(String)

Returns an object whose value is the same as the token provider.

System_CAPS_protmethodOnBeginGetToken(String, String, TimeSpan, AsyncCallback, Object)

Executes upon calling the BeginGetToken method.

System_CAPS_protmethodOnBeginGetWebToken(String, String, TimeSpan, AsyncCallback, Object)

Executes upon calling the BeginGetWebToken method.

System_CAPS_protmethodOnEndGetToken(IAsyncResult, DateTime)

Executes upon calling the EndGetToken method.

System_CAPS_protmethodOnEndGetWebToken(IAsyncResult, DateTime)

Executes upon calling the EndGetWebToken method.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The token provider is responsible for the acquisition of tokens and would, in the concrete case of a token provider for shared secrets in a specialization, also hold that secret.

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
Syntes du, dette var nyttigt?
(1500 tegn tilbage)
Tak for din feedback
Vis:
© 2015 Microsoft