AzureActiveDirectoryTokenProvider Class
- java.
lang. Object - com.
microsoft. azure. eventhubs. AzureActiveDirectoryTokenProvider
- com.
Implements
public final class AzureActiveDirectoryTokenProvider
implements ITokenProvider
Constructor Summary
Constructor | Description | |
---|---|---|
AzureActiveDirectoryTokenProvider(AzureActiveDirectoryTokenProvider.AuthenticationCallback authenticationCallback, String authority, Object state) |
Method Summary
Modifier and Type | Method and Description |
---|---|
Completable |
getToken(String resource, Duration timeout) |
Methods inherited from java.lang.Object
Constructor Details
AzureActiveDirectoryTokenProvider
public AzureActiveDirectoryTokenProvider(AzureActiveDirectoryTokenProvider.AuthenticationCallback authenticationCallback, String authority, Object state)
Parameters:
authenticationCallback
authority
state
Method Details
getToken
public CompletableFuture
Parameters:
resource
timeout
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java