Export (0) Print
Expand All

TokenProvider.GetWebTokenAsync Method

Asynchronously retrieves the web token for the provider.

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

public Task<string> GetWebTokenAsync(
	string appliesTo,
	string action,
	bool bypassCache,
	TimeSpan timeout
)

Parameters

appliesTo
Type: System.String
The URI which the access token applies to.
action
Type: System.String
The request action.
bypassCache
Type: System.Boolean
true to ignore existing token information in the cache; false to use the token information in the cache.
timeout
Type: System.TimeSpan
The time span that specifies the timeout value for the message that gets the security token.

Return Value

Type: System.Threading.Tasks.Task<String>
The result of the asynchronous operation.

Community Additions

ADD
Show:
© 2015 Microsoft