26 строки
1.4 KiB
YAML
26 строки
1.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.eventhubs.ITokenProvider"
|
|
fullName: "com.microsoft.azure.eventhubs.ITokenProvider"
|
|
name: "ITokenProvider"
|
|
nameWithType: "ITokenProvider"
|
|
syntax: "public interface **ITokenProvider**"
|
|
methods:
|
|
- uid: "com.microsoft.azure.eventhubs.ITokenProvider.getToken(java.lang.String,java.time.Duration)"
|
|
fullName: "com.microsoft.azure.eventhubs.ITokenProvider.getToken(String resource, Duration timeout)"
|
|
name: "getToken(String resource, Duration timeout)"
|
|
nameWithType: "ITokenProvider.getToken(String resource, Duration timeout)"
|
|
modifiers:
|
|
- "abstract"
|
|
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 abstract 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><<xref href=\"com.microsoft.azure.eventhubs.SecurityToken?alt=com.microsoft.azure.eventhubs.SecurityToken&text=SecurityToken\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "interface"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.eventhubs"
|
|
artifact: com.microsoft.azure:azure-eventhubs:3.2.2
|