azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.eventhu...

48 строки
3.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.eventhubs.ManagedIdentityTokenProvider"
fullName: "com.microsoft.azure.eventhubs.ManagedIdentityTokenProvider"
name: "ManagedIdentityTokenProvider"
nameWithType: "ManagedIdentityTokenProvider"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- 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 **ManagedIdentityTokenProvider**</br> implements <xref href=\"com.microsoft.azure.eventhubs.ITokenProvider?alt=com.microsoft.azure.eventhubs.ITokenProvider&text=ITokenProvider\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.azure.eventhubs.ManagedIdentityTokenProvider.ManagedIdentityTokenProvider()"
fullName: "com.microsoft.azure.eventhubs.ManagedIdentityTokenProvider.ManagedIdentityTokenProvider()"
name: "ManagedIdentityTokenProvider()"
nameWithType: "ManagedIdentityTokenProvider.ManagedIdentityTokenProvider()"
syntax: "public ManagedIdentityTokenProvider()"
methods:
- uid: "com.microsoft.azure.eventhubs.ManagedIdentityTokenProvider.getToken(java.lang.String,java.time.Duration)"
fullName: "com.microsoft.azure.eventhubs.ManagedIdentityTokenProvider.getToken(String resource, Duration timeout)"
name: "getToken(String resource, Duration timeout)"
nameWithType: "ManagedIdentityTokenProvider.getToken(String resource, Duration timeout)"
parameters:
- name: "resource"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public CompletableFuture<SecurityToken> getToken(String resource, Duration timeout)"
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.eventhubs.SecurityToken?alt=com.microsoft.azure.eventhubs.SecurityToken&text=SecurityToken\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
implements:
- "<xref href=\"com.microsoft.azure.eventhubs.ITokenProvider?alt=com.microsoft.azure.eventhubs.ITokenProvider&text=ITokenProvider\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.azure.eventhubs"
artifact: com.microsoft.azure:azure-eventhubs:3.2.2