OptionalallowedOptionalapiPrefix to use for the API. E.g. /api in /api/v1/session
Default is /api.
OptionaldisallowedDisallow these IP ranges from being hit when handling OpenID requests. By default, a number of intenal ranges are blocked.
OptionalexpressProvide an existing express app to bind to.
Note: start() and close() will no-op when this is used.
OptionalopenA set of Matrix server names to override the well known response to. Should only be used for testing.
OptionalprovisioningSecret token for provisioning requests
OptionalratelimitOptions for ratelimiting requests to the api server. Does not affect static content loading.
OptionalwidgetWhere are the files stored for the widget frontend. If undefined, do not host a frontend.
OptionalwidgetHow long should a widget token last for?
OptionalwidgetFor widget tokens, use this prefix.
Allow these IP ranges to be hit when handling OpenID requests even if they are within
disallowedIpRanges. This allows specific sub-ranges ofdisallowedIpRangesto be used without having to carefully construct the ranges that still should be disallowed.If the IP the OpenID request would be made to isn't in either list it is implicitly allowed.
Defaults to the empty list.