| Modifier and Type | Method and Description |
|---|---|
static ApplicationTokenCredentials |
ApplicationTokenCredentials.fromFile(File credentialsFile)
Initializes the credentials based on the provided credentials file.
|
ApplicationTokenCredentials |
ApplicationTokenCredentials.withTimeoutInSeconds(long timeoutInSeconds)
Sets the timeout for AAD authentication calls.
|
| Constructor and Description |
|---|
DelegatedTokenCredentials(ApplicationTokenCredentials applicationCredentials,
String redirectUrl)
Initializes a new instance of the DelegatedTokenCredentials.
|
DelegatedTokenCredentials(ApplicationTokenCredentials applicationCredentials,
String redirectUrl,
String authorizationCode)
Initializes a new instance of the DelegatedTokenCredentials, with a pre-acquired oauth2 authorization code.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/