interface AsukaLicenseOptions {
    audience?: string;
    channel?: string;
    debug?: boolean;
    domain?: string;
    enabled?: boolean;
    instanceId?: string;
    key?: string;
    refresh?: AsukaLicenseRefreshOptions;
    token?: AsukaLicenseTokenInput;
}

Properties

audience?: string

Optional explicit expected audience claim. Defaults to asuka-designer.

channel?: string

Optional integration channel sent to the backend. Defaults to js.

debug?: boolean

Enable verbose client-side license logs.

domain?: string

Optional explicit site/domain used during remote resolution. Defaults to window.location.hostname.

enabled?: boolean

Set to false to force free mode and skip all remote license resolution.

instanceId?: string

Optional stable instance id used during remote resolution. Defaults to a generated local id persisted in localStorage.

key?: string

Raw commercial license key. This is the main public activation input.

Optional auto-refresh behavior for remotely resolved licenses.

Signed entitlement token injected directly by a host integration. Accepts either a structured object or a compact signed token string.