| Package | Description |
|---|---|
| net.leanix.api.common |
| Modifier and Type | Method and Description |
|---|---|
ApiClientBuilder |
ApiClientBuilder.withApiKey(String apiKey) |
ApiClientBuilder |
ApiClientBuilder.withApiToken(String apiToken)
Set the API token that is used to retrieve an access token.
|
ApiClientBuilder |
ApiClientBuilder.withBasePath(String basePath)
Set the base url that is used to access your service.
|
ApiClientBuilder |
ApiClientBuilder.withClientCredentials(String clientId,
String clientSecret)
Sets your client Id and client Secret.
|
ApiClientBuilder |
ApiClientBuilder.withDebugging(boolean debugging) |
ApiClientBuilder |
ApiClientBuilder.withOAuth2TokenUrl(URI uri)
Sets the url that is used when a new access token will be fetched with specified client id and client secret.
|
ApiClientBuilder |
ApiClientBuilder.withPersonalAccessToken(String personalAccessToken)
Deprecated.
use withApiToken(String) instead
|
ApiClientBuilder |
ApiClientBuilder.withTokenProviderHost(String host)
Specifies all urls needed to get an access token based on given host name and common url naming convention.
|
Copyright © 2019 LeanIX GmbH. All rights reserved.