Skip to content

basalt / api-keys-ui/src / ApiKeysUiOptions

Interface: ApiKeysUiOptions ​

Defined in: api-keys-ui/src/plugin.ts:4

Extends ​

Properties ​

apiBase? ​

> optional apiBase?: string

Defined in: api-keys-ui/src/html.ts:5

Base path where the API-key JSON routes are mounted. Default '' (same origin).

Inherited from ​

ApiKeysPageOptions.apiBase


csp? ​

> optional csp?: string | false

Defined in: api-keys-ui/src/plugin.ts:13

Content-Security-Policy for the page. Default: the hash-locked apiKeysPageCsp, so the page works under securityPlugin's strict app-wide CSP without weakening it. Pass a string to override, or false to send no route-scoped CSP at all.


path? ​

> optional path?: string

Defined in: api-keys-ui/src/plugin.ts:6

Where to mount the page. Default /apikeys/ui.


title? ​

> optional title?: string

Defined in: api-keys-ui/src/html.ts:6

Inherited from ​

ApiKeysPageOptions.title

Released under the MIT License.