SALES: 1-800-867-1380

TokenProvider.GetWebTokenAsync Method (String, String, Boolean, TimeSpan)

 

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft