|
10Duke Scale SDK for Java
|
Data class that stores memory based configuration of the 10Duke Scale SDK for Java.
Notes on values contained in instance members vs. values returned from implementation of interface tenduke.sdk.core.model.config.AuthConfig:
tenduke.sdk.core.model.config.ConfigOperationMode controls logic to return the configuration contract's default values vs. the plain field value. Default values are defined by tenduke.sdk.core.model.config.AuthConfig (interface default implementation body).
Public Member Functions | |
| InMemoryTendukeScaleConfig () | |
| InMemoryTendukeScaleConfig (final URI licensingApiUrl) | |
| InMemoryTendukeScaleConfig (final URI licensingApiUrl, final ConfigOperationMode operationMode) | |
| URI | licensingApiUrl () |
Protocol and host name for the 10Duke API base URL.
| |
| Optional< String > | licensingApiAuthorizationModel () |
| Method of authorization used for API calls. | |
| boolean | tokenAutomaticInvalidationDisabled () |
| Controls whether automatic token invalidation on heartbeat failure is disabled. | |
Additional Inherited Members | |
Public Attributes inherited from tenduke.scale.api.config.TendukeScaleConfig | |
| String | LICENSING_API_JWKS_URLS_PATH = "/licensing-signing-keys/.well-known/jwks.json" |
URL path to read public key used to verify JWTs received from the API: /licensing-signing-keys/.well-known/jwks.json. | |
| tenduke.scale.api.config.InMemoryTendukeScaleConfig.InMemoryTendukeScaleConfig | ( | ) |
| tenduke.scale.api.config.InMemoryTendukeScaleConfig.InMemoryTendukeScaleConfig | ( | final URI | licensingApiUrl | ) |
| tenduke.scale.api.config.InMemoryTendukeScaleConfig.InMemoryTendukeScaleConfig | ( | final URI | licensingApiUrl, |
| final ConfigOperationMode | operationMode ) |
| Optional< String > tenduke.scale.api.config.InMemoryTendukeScaleConfig.licensingApiAuthorizationModel | ( | ) |
Method of authorization used for API calls.
empty, which works for license key based API authorization. Implements tenduke.scale.api.config.TendukeScaleConfig.
| URI tenduke.scale.api.config.InMemoryTendukeScaleConfig.licensingApiUrl | ( | ) |
Protocol and host name for the 10Duke API base URL.
Implements tenduke.scale.api.config.TendukeScaleConfig.
| boolean tenduke.scale.api.config.InMemoryTendukeScaleConfig.tokenAutomaticInvalidationDisabled | ( | ) |
Controls whether automatic token invalidation on heartbeat failure is disabled.
When this returns true, the automatic invalidation of tokens on specific heartbeat failures is disabled. When false (default), tokens will be automatically invalidated when heartbeat fails with critical error codes.
Implements tenduke.scale.api.config.TendukeScaleConfig.