TokenProvider.CreateSharedAccessSignatureTokenProvider TokenProvider.CreateSharedAccessSignatureTokenProvider TokenProvider.CreateSharedAccessSignatureTokenProvider Method

Definition

Overloads

CreateSharedAccessSignatureTokenProvider(String) CreateSharedAccessSignatureTokenProvider(String) CreateSharedAccessSignatureTokenProvider(String)

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

CreateSharedAccessSignatureTokenProvider(String, String) CreateSharedAccessSignatureTokenProvider(String, String) 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) 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) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) 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) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope)

Creates a URL that grants access to the token provider.

CreateSharedAccessSignatureTokenProvider(String) CreateSharedAccessSignatureTokenProvider(String) 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);
static member CreateSharedAccessSignatureTokenProvider : string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (sharedAccessSignature As String) As TokenProvider
Parameters
sharedAccessSignature
String String String

The shared access signature.

Returns

CreateSharedAccessSignatureTokenProvider(String, String) CreateSharedAccessSignatureTokenProvider(String, String) 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);
static member CreateSharedAccessSignatureTokenProvider : string * string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String) As TokenProvider
Parameters
keyName
String String String

The key name.

sharedAccessKey
String String String

The shared access key.

Returns

The created URL that grants access to token provider.

CreateSharedAccessSignatureTokenProvider(String, String, TokenScope) 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);
static member CreateSharedAccessSignatureTokenProvider : string * string * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Parameters
keyName
String String String

The key name.

sharedAccessKey
String String String

The shared access key.

tokenScope
TokenScope TokenScope TokenScope

The token scope associated with the provider.

Returns

The created URL that grants access to token provider.

CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) 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);
static member CreateSharedAccessSignatureTokenProvider : string * string * TimeSpan -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String, tokenTimeToLive As TimeSpan) As TokenProvider
Parameters
keyName
String String String

The key name.

sharedAccessKey
String String String

The shared access key.

tokenTimeToLive
TimeSpan TimeSpan TimeSpan

The time for which the operation remains valid.

Returns

The created URL that grants access to token provider.

CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope) 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);
static member CreateSharedAccessSignatureTokenProvider : string * string * TimeSpan * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Parameters
keyName
String String String

The key name.

sharedAccessKey
String String String

The shared access key.

tokenTimeToLive
TimeSpan TimeSpan TimeSpan

The time for which the operation remains valid.

tokenScope
TokenScope TokenScope TokenScope

The token scope associated with the provider.

Returns

The created URL that grants access to token provider.

Applies to