Interface ITokenProvider
- Namespace
- Microsoft.Azure.ServiceBus.Primitives
- Assembly
- Microsoft.Azure.ServiceBus.dll
Provides interface definition of a token provider.
public interface ITokenProvider
Methods
GetTokenAsync(string, TimeSpan)
Gets a SecurityToken.
Task<SecurityToken> GetTokenAsync(string appliesTo, TimeSpan timeout)
Parameters
appliesTo
stringThe URI which the access token applies to
timeout
TimeSpanThe time span that specifies the timeout value for the message that gets the security token