Uses of Class
com.microsoft.azure.servicebus.security.TokenProvider
-
Packages that use TokenProvider Package Description com.microsoft.azure.servicebus com.microsoft.azure.servicebus.security -
-
Uses of TokenProvider in com.microsoft.azure.servicebus
Methods in com.microsoft.azure.servicebus that return TokenProvider Modifier and Type Method Description TokenProvider
ClientSettings. getTokenProvider()
Gets the token provider contained in this instance.Constructors in com.microsoft.azure.servicebus with parameters of type TokenProvider Constructor Description ClientSettings(TokenProvider tokenProvider)
Creates a new instance with the given token provider, default retry policy and default operation timeout.ClientSettings(TokenProvider tokenProvider, RetryPolicy retryPolicy, Duration operationTimeout)
Creates a new instance with the given token provider, retry policy and operation timeout.ClientSettings(TokenProvider tokenProvider, RetryPolicy retryPolicy, Duration operationTimeout, TransportType transportType)
Creates a new instance with the given token provider, retry policy and operation timeout. -
Uses of TokenProvider in com.microsoft.azure.servicebus.security
Subclasses of TokenProvider in com.microsoft.azure.servicebus.security Modifier and Type Class Description class
AzureActiveDirectoryTokenProvider
This is a token provider that obtains tokens from Azure Active Directory.class
ManagedIdentityTokenProvider
This is a token provider that obtains token using Managed Identity(MI).class
SharedAccessSignatureTokenProvider
This is a token provider that generates Shared Access Signature(SAS) tokens or reuses an already generated SAS token.Methods in com.microsoft.azure.servicebus.security that return TokenProvider Modifier and Type Method Description static TokenProvider
TokenProvider. createAzureActiveDirectoryTokenProvider(AzureActiveDirectoryTokenProvider.AuthenticationCallback callback, String authority, Object callbackState)
Creates a Azure Active Directory token provider that creates a token with the user defined AuthenticationCallback.static TokenProvider
TokenProvider. createManagedIdentityTokenProvider()
Creates a Managed Identity token provider.static TokenProvider
TokenProvider. createSharedAccessSignatureTokenProvider(String sasKeyName, String sasKey)
Creates a Shared Access Signature token provider with the given key name and key value.static TokenProvider
TokenProvider. createSharedAccessSignatureTokenProvider(String sasToken, Instant sasTokenValidUntil)
Creates a Shared Access Signature token provider that always returns an already created token.
-