@jupyterlite

***`

@jupyterlite / @jupyterlite/apputils / LiteLicensesClient

Class: LiteLicensesClient#

Defined in: packages/apputils/src/licenses.ts:29

A JupyterLite implementation of the jupyterlab_server licenses route

Extends#

  • LicensesClient

Constructors#

Constructor#

**new LiteLicensesClient**(options?): LiteLicensesClient

Defined in: node_modules/@jupyterlab/apputils/lib/licenses.d.ts:183

Create a new license client.

Parameters#

options?#

ILicenseClientOptions

Returns#

LiteLicensesClient

Inherited from#

Licenses.LicensesClient.constructor

Accessors#

appLicensesUrl#

Get Signature#

**get** protected **appLicensesUrl**(): string

Defined in: packages/apputils/src/licenses.ts:65

Get the well-known URL of the app licenses.

Returns#

string

`***

appName#

Get Signature#

get protected appName(): string

Defined in: packages/apputils/src/licenses.ts:58

Get the app name (or default).

Returns#

string

***`

labExtensionsUrl#

Get Signature#

**get** protected **labExtensionsUrl**(): string

Defined in: packages/apputils/src/licenses.ts:72

Get the lab extension base url.

Returns#

string

Methods#

download()#

**download**(options): Promise<void>

Defined in: packages/apputils/src/licenses.ts:45

Download the licenses in the requested format.

Parameters#

options#

IDownloadOptions

Returns#

Promise<void>

Overrides#

Licenses.LicensesClient.download

`***

getBundles()#

getBundles(): Promise<ILicenseResponse>

Defined in: packages/apputils/src/licenses.ts:33

A GET handler for the licenses

Returns#

Promise<ILicenseResponse>

Overrides#

Licenses.LicensesClient.getBundles