azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.service...

51 строка
5.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.security.AzureActiveDirectoryTokenProvider"
fullName: "com.microsoft.azure.servicebus.security.AzureActiveDirectoryTokenProvider"
name: "AzureActiveDirectoryTokenProvider"
nameWithType: "AzureActiveDirectoryTokenProvider"
summary: "This is a token provider that obtains tokens from Azure Active Directory."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider?alt=com.microsoft.azure.servicebus.security.TokenProvider&text=TokenProvider\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider.createAzureActiveDirectoryTokenProvider(com.microsoft.azure.servicebus.security.AzureActiveDirectoryTokenProvider.AuthenticationCallback,java.lang.String,java.lang.Object)?alt=com.microsoft.azure.servicebus.security.TokenProvider.createAzureActiveDirectoryTokenProvider&text=createAzureActiveDirectoryTokenProvider\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider.createManagedIdentityTokenProvider()?alt=com.microsoft.azure.servicebus.security.TokenProvider.createManagedIdentityTokenProvider&text=createManagedIdentityTokenProvider\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider.createSharedAccessSignatureTokenProvider(java.lang.String,java.lang.String)?alt=com.microsoft.azure.servicebus.security.TokenProvider.createSharedAccessSignatureTokenProvider&text=createSharedAccessSignatureTokenProvider\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider.createSharedAccessSignatureTokenProvider(java.lang.String,java.time.Instant)?alt=com.microsoft.azure.servicebus.security.TokenProvider.createSharedAccessSignatureTokenProvider&text=createSharedAccessSignatureTokenProvider\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.security.TokenProvider.getSecurityTokenAsync(java.lang.String)?alt=com.microsoft.azure.servicebus.security.TokenProvider.getSecurityTokenAsync&text=getSecurityTokenAsync\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **AzureActiveDirectoryTokenProvider**</br> extends <xref href=\"com.microsoft.azure.servicebus.security.TokenProvider?alt=com.microsoft.azure.servicebus.security.TokenProvider&text=TokenProvider\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.azure.servicebus.security.AzureActiveDirectoryTokenProvider.getSecurityTokenAsync(java.lang.String)"
fullName: "com.microsoft.azure.servicebus.security.AzureActiveDirectoryTokenProvider.getSecurityTokenAsync(String audience)"
name: "getSecurityTokenAsync(String audience)"
nameWithType: "AzureActiveDirectoryTokenProvider.getSecurityTokenAsync(String audience)"
summary: "Asynchronously gets a security token for the given audience."
overridden: "com.microsoft.azure.servicebus.security.TokenProvider.getSecurityTokenAsync(java.lang.String)"
parameters:
- name: "audience"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CompletableFuture<SecurityToken> getSecurityTokenAsync(String audience)"
desc: "Asynchronously gets a security token for the given audience. Implementations of this method may choose to create a new token for every call or return a cached token. But the token returned must be valid."
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"com.microsoft.azure.servicebus.security.SecurityToken?alt=com.microsoft.azure.servicebus.security.SecurityToken&text=SecurityToken\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "This is a token provider that obtains tokens from Azure Active Directory. It supports multiple modes of authentication with active directory to obtain tokens."
metadata: {}
package: "com.microsoft.azure.servicebus.security"
artifact: com.microsoft.azure:azure-servicebus:3.6.7