共用方式為


SharedSecretTokenProvider Class

Definition

Provides methods that return name/value pairs for web token assertions, and that execute asynchronous shared secret token retrieval operations.

public class SharedSecretTokenProvider : Microsoft.ServiceBus.TokenProvider
type SharedSecretTokenProvider = class
    inherit TokenProvider
Public Class SharedSecretTokenProvider
Inherits TokenProvider
Inheritance
SharedSecretTokenProvider

Properties

CacheSize

Gets or sets the size of the cache.

(Inherited from TokenProvider)
CacheTokens

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

(Inherited from TokenProvider)
IsWebTokenSupported

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

(Inherited from TokenProvider)
StripQueryParameters

Gets whether the token provider strips query parameters.

(Inherited from TokenProvider)
TokenScope

Gets or sets the token scope associated with the provider.

(Inherited from TokenProvider)

Methods

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

Begins an asynchronous operation to get a security token.

(Inherited from TokenProvider)
BeginGetWebToken(String, String, Boolean, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a web token.

(Inherited from TokenProvider)
BuildKey(String, String)

Generates a key for the token provider.

Clear()

Clears the token provider.

(Inherited from TokenProvider)
ComputeSimpleWebTokenString(String, Byte[])

Returns a string of URL encoded name/value pairs for a simple web token assertion using the specified issuer name and issuer secret.

ComputeSimpleWebTokenString(String, String)

Returns a string of URL encoded name/value pairs for a simple web token assertion using the specified issuer name and issuer secret.

EndGetToken(IAsyncResult)

Completes an asynchronous operation to get a security token.

(Inherited from TokenProvider)
EndGetWebToken(IAsyncResult)

Completes an asynchronous operation to get a web token.

(Inherited from TokenProvider)
GetTokenAsync(String, String, Boolean, TimeSpan)

Asynchronously retrieves the token for the provider.

(Inherited from TokenProvider)
GetWebTokenAsync(String, String, Boolean, TimeSpan)

Asynchronously retrieves the web token for the provider.

(Inherited from TokenProvider)
NormalizeAppliesTo(String)

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

(Inherited from TokenProvider)
OnBeginGetToken(String, String, TimeSpan, AsyncCallback, Object)

Executes the begin get token action.

OnBeginGetWebToken(String, String, TimeSpan, AsyncCallback, Object)

Executes the begin get web token action.

OnEndGetToken(IAsyncResult, DateTime)

Executes the end get token action.

OnEndGetWebToken(IAsyncResult, DateTime)

Executes the end get web token action.

Applies to