Skip to main content

Interface: CreateLicenseOptions

Defined in: handle.ts:69

Properties

appId?

optional appId?: string;

Defined in: handle.ts:81

RN bundle id from the host (e.g. expo-application).


clock?

optional clock?: () => number;

Defined in: handle.ts:85

Injectable clock for tests; epoch milliseconds.

Returns

number


fetcher?

optional fetcher?: TokenFetcher;

Defined in: handle.ts:77

Custom transport; overrides tokenEndpoint/siteKey.


freeFeatures?

optional freeFeatures?: string[];

Defined in: handle.ts:83

Features always granted — the Option B switch (docs/15 §4.4).


siteKey?

optional siteKey?: string;

Defined in: handle.ts:75

Prototyping only — direct call to license.rasd.dev; warns on non-dev hosts.


storage

storage: LicenseStorageLike;

Defined in: handle.ts:79

kv persistence (docs/17 §10 kv keys).


token?

optional token?: string;

Defined in: handle.ts:71

Initial token / offline license file content.


tokenEndpoint?

optional tokenEndpoint?: string;

Defined in: handle.ts:73

Host backend URL; the built-in fetcher POSTs { current, sdk, app } there.