TokenProvider.CreateSharedAccessSignatureTokenProvider Method

Definition

Overloads

CreateSharedAccessSignatureTokenProvider(String)

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

CreateSharedAccessSignatureTokenProvider(String, String)

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

CreateSharedAccessSignatureTokenProvider(String, String, TokenScope)

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

CreateSharedAccessSignatureTokenProvider(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.

CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope)

Creates a URL that grants access to the token provider.

CreateSharedAccessSignatureTokenProvider(String)

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

public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string sharedAccessSignature);
Parameters
sharedAccessSignature
String

The shared access signature.

Returns

CreateSharedAccessSignatureTokenProvider(String, String)

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

public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey);
Parameters
keyName
String

The key name.

sharedAccessKey
String

The shared access key.

Returns

The created URL that grants access to token provider.

CreateSharedAccessSignatureTokenProvider(String, String, TokenScope)

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

public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, Microsoft.ServiceBus.TokenScope tokenScope);
Parameters
keyName
String

The key name.

sharedAccessKey
String

The shared access key.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created URL that grants access to token provider.

CreateSharedAccessSignatureTokenProvider(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.

public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, TimeSpan tokenTimeToLive);
Parameters
keyName
String

The key name.

sharedAccessKey
String

The shared access key.

tokenTimeToLive
TimeSpan

The time for which the operation remains valid.

Returns

The created URL that grants access to token provider.

CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope)

Creates a URL that grants access to the token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, TimeSpan tokenTimeToLive, Microsoft.ServiceBus.TokenScope tokenScope);
Parameters
keyName
String

The key name.

sharedAccessKey
String

The shared access key.

tokenTimeToLive
TimeSpan

The time for which the operation remains valid.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created URL that grants access to token provider.