Optional
apiOptional
disallowedDisallow these IP ranges from being hit when handling OpenID requests. By default, a number of intenal ranges are blocked.
DefaultDisallowedIpRanges
Optional
expressProvide an existing express app to bind to.
Note: start() and close() will no-op when this is used.
Optional
openA set of Matrix server names to override the well known response to. Should only be used for testing.
Optional
provisioningSecret token for provisioning requests
Optional
ratelimitOptions for ratelimiting requests to the api server. Does not affect static content loading.
Optional
widgetWhere are the files stored for the widget frontend. If undefined, do not host a frontend.
Optional
widgetHow long should a widget token last for?
Optional
widgetFor widget tokens, use this prefix.
Generated using TypeDoc
Prefix to use for the API. E.g.
/api
in/api/v1/session
Default is
/api
.