SALES: 1-800-867-1380

TokenProvider.CreateSharedAccessSignatureTokenProvider Method (String, String, TimeSpan, TokenScope)

Creates a URL that grants access to the token provider.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public static TokenProvider CreateSharedAccessSignatureTokenProvider(
	string keyName,
	string sharedAccessKey,
	TimeSpan tokenTimeToLive,
	TokenScope tokenScope
)

Parameters

keyName
Type: System.String
The key name.
sharedAccessKey
Type: System.String
The shared access key.
tokenTimeToLive
Type: System.TimeSpan
The time for which the operation remains valid.
tokenScope
Type: Microsoft.ServiceBus.TokenScope
The token scope associated with the provider.

Return Value

Type: Microsoft.ServiceBus.TokenProvider
The created URL that grants access to token provider.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft