Skip to Content

createAdminApiProxyHandler()

function createAdminApiProxyHandler(admin, options?): AdminApiProxyHandler;

Serves the admin API to a browser through a server that holds the key: each request is matched to one AdminClient operation, and its result or error is answered as JSON in the admin API’s own envelope. Mount it on a catch-all route, behind authenticate.

Parameters

admin

AdminClient

options?

AdminApiProxyHandlerOptions = {}

Last updated on