Dela via


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

Parameters

sharedAccessSignature
String

The shared access signature.

Returns

Returns TokenProvider.

Applies to

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

The key name.

sharedAccessKey
String

The shared access key.

Returns

The created URL that grants access to token provider.

Applies to

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
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String, tokenScope As TokenScope) As TokenProvider

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.

Applies to

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

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.

Applies to

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
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String, tokenTimeToLive As TimeSpan, tokenScope As TokenScope) As TokenProvider

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.

Applies to