public final class AzureActiveDirectoryTokenProvider extends Object implements ITokenProvider
| Modifier and Type | Class and Description |
|---|---|
static interface |
AzureActiveDirectoryTokenProvider.AuthenticationCallback |
| Constructor and Description |
|---|
AzureActiveDirectoryTokenProvider(AzureActiveDirectoryTokenProvider.AuthenticationCallback authenticationCallback,
String authority,
Object state) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<SecurityToken> |
getToken(String resource,
Duration timeout) |
public AzureActiveDirectoryTokenProvider(AzureActiveDirectoryTokenProvider.AuthenticationCallback authenticationCallback, String authority, Object state)
public CompletableFuture<SecurityToken> getToken(String resource, Duration timeout)
getToken in interface ITokenProviderCopyright © 2019 Microsoft Corporation. All rights reserved.