SharedAccessSignatureTokenProvider Class

Definition

Represents the shared access signature associated with the token provider.

public class SharedAccessSignatureTokenProvider : Microsoft.ServiceBus.TokenProvider
Inheritance
SharedAccessSignatureTokenProvider
Derived
Microsoft.ServiceBus.IoTTokenProvider

Inherited Members

Microsoft.ServiceBus.TokenProvider

Constructors

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

Fields

EpochTime

The epoch time.

Properties

StripQueryParameters

Gets whether the token provider strips query parameters.

Methods

BuildKey(String, String)

Generates a key for the token provider.

BuildSignature(String)
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.

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.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)