This page lists the configuration options and consumer surface of Sidub.Licensing.Client
(targets netstandard2.1).
| Field |
Meaning |
LicenseServiceUri |
The licensing API URL to call. Required. |
ConsumptionServiceUri |
The consumption API URL to call. Optional; set it when you report usage. |
EncodedCredential |
The encoded credential (SIDUB_LIC_...) carrying the license id, service key and API key. The recommended way to configure credentials. |
ServiceKeyVersion |
Server-side key registration only; not part of the encoded credential. |
BillableResourceId |
Optional resource id to attribute metered consumption to. |
BillablePlanId |
Optional billing plan id to associate consumption with. |
IssuerClientId |
The seller’s client id, applied to embedded checkout requests that do not specify one. |
AuthorizationTimeoutSeconds |
Per-attempt time budget for the authorization fetch. Default 10; values below 1 are clamped to 1. |
AuthorizationStaleGraceMinutes |
How long the last verified authorization may be served past expiry when a refresh fails because the service is unreachable. Default 60; 0 disables grace. A denial or signature failure is never served stale. |
| Member |
Purpose |
GetAuthorization |
Retrieves the current authorization for the configured license. |
GetLicenseFeature<T> |
Retrieves a specific license feature by type. |
PerformOperation<TFeature,TState> |
Performs an operation against a feature, carrying state through the call. |
AssertLicense |
Confirms the license satisfies a given assertion, and throws if it does not. |
| Type |
Meaning |
LicensingContextAccessor |
Provides access to the current licensing context. |
LicensingServiceReference |
A reference to the configured licensing service. |