Share via


SharedAccessSignatureTokenProvider Class

Definition

Represents the shared access signature associated with the token provider.

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

Constructors

SharedAccessSignatureTokenProvider(String, String, Func<String,Byte[]>, TimeSpan, TokenScope)

Fields

EpochTime

The epoch time.

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.

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.

BuildSignature(String)
Clear()

Clears the token provider.

(Inherited from TokenProvider)
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)
GetPublisherSharedAccessSignature(Uri, String, String, String, String, TimeSpan)
GetSharedAccessSignature(String, String, String, TimeSpan)

Returns the shared access signature associated with the specified key name, SAS key, resource, and token time-to-live.

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 upon calling the BeginGetToken method.

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

Executes upon calling the BeginGetWebToken method.

OnEndGetToken(IAsyncResult, DateTime)

Executes upon calling the EndGetToken method.

OnEndGetWebToken(IAsyncResult, DateTime)

Executes upon calling the EndGetWebToken method.

Applies to