Home > kibana-plugin-server > OnPreAuthToolkit
A tool set defining an outcome of OnPreAuth interceptor for incoming request.
Signature:
export interface OnPreAuthToolkit
Property | Type | Description |
---|---|---|
next | () => OnPreAuthResult |
To pass request to the next handler |
rewriteUrl | (url: string) => OnPreAuthResult |
Rewrite requested resources url before is was authenticated and routed to a handler |