|
10Duke Scale SDK for Java
|
Interface to implement for providing required and optional configuration items used by the 10Duke Scale SDK for Java.
Note: depending on the application's licensing use case only parts of this interface may be implemented. E.g. the MVP implementation for a desktop application needing licenses based on license keys is implementing the licensingApiUrl() method.
Public Member Functions | |
| URI | licensingApiUrl () |
| Protocol and host name for the 10Duke API base URL. | |
| default Optional< String > | licensingApiAuthorizationModel () |
| Method of authorization used for API calls. | |
| boolean | tokenAutomaticInvalidationDisabled () |
| Controls whether automatic token invalidation on heartbeat failure is disabled. | |
Public Attributes | |
| 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. | |
| default Optional< String > tenduke.scale.api.config.TendukeScaleConfig.licensingApiAuthorizationModel | ( | ) |
Method of authorization used for API calls.
empty, which works for license key based API authorization. Implemented in tenduke.scale.api.config.InMemoryTendukeScaleConfig, tenduke.scale.api.config.TendukeScaleConfigWithFallback, and tenduke.scale.config.typesafe.TypesafeTendukeScaleConfig.
| URI tenduke.scale.api.config.TendukeScaleConfig.licensingApiUrl | ( | ) |
Protocol and host name for the 10Duke API base URL.
Implemented in tenduke.scale.api.config.InMemoryTendukeScaleConfig, tenduke.scale.api.config.MinViableTendukeScaleConfig, tenduke.scale.api.config.TendukeScaleConfigWithFallback, and tenduke.scale.config.typesafe.TypesafeTendukeScaleConfig.
| boolean tenduke.scale.api.config.TendukeScaleConfig.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.
Implemented in tenduke.scale.api.config.InMemoryTendukeScaleConfig, tenduke.scale.api.config.MinViableTendukeScaleConfig, tenduke.scale.api.config.TendukeScaleConfigWithFallback, and tenduke.scale.config.typesafe.TypesafeTendukeScaleConfig.
| String tenduke.scale.api.config.TendukeScaleConfig.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.