(data?: AuthResultParams) => AuthResult
| Authentication is successful with given credentials, allow request to pass through |
-| [redirected](./kibana-plugin-server.authtoolkit.redirected.md) | (url: string) => AuthResult
| Authentication requires to interrupt request handling and redirect to a configured url |
-| [rejected](./kibana-plugin-server.authtoolkit.rejected.md) | (error: Error, options?: {
statusCode?: number;
}) => AuthResult
| Authentication is unsuccessful, fail the request with specified error. |
diff --git a/docs/development/core/server/kibana-plugin-server.authtoolkit.redirected.md b/docs/development/core/server/kibana-plugin-server.authtoolkit.redirected.md
deleted file mode 100644
index eb07b1c4b0f64..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.authtoolkit.redirected.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [AuthToolkit](./kibana-plugin-server.authtoolkit.md) > [redirected](./kibana-plugin-server.authtoolkit.redirected.md)
-
-## AuthToolkit.redirected property
-
-Authentication requires to interrupt request handling and redirect to a configured url
-
-Signature:
-
-```typescript
-redirected: (url: string) => AuthResult;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.authtoolkit.rejected.md b/docs/development/core/server/kibana-plugin-server.authtoolkit.rejected.md
deleted file mode 100644
index bc353c7df9fba..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.authtoolkit.rejected.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [AuthToolkit](./kibana-plugin-server.authtoolkit.md) > [rejected](./kibana-plugin-server.authtoolkit.rejected.md)
-
-## AuthToolkit.rejected property
-
-Authentication is unsuccessful, fail the request with specified error.
-
-Signature:
-
-```typescript
-rejected: (error: Error, options?: {
- statusCode?: number;
- }) => AuthResult;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.lifecycleresponsefactory.md b/docs/development/core/server/kibana-plugin-server.lifecycleresponsefactory.md
new file mode 100644
index 0000000000000..f1c427203dd24
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.lifecycleresponsefactory.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [LifecycleResponseFactory](./kibana-plugin-server.lifecycleresponsefactory.md)
+
+## LifecycleResponseFactory type
+
+Creates an object containing redirection or error response with error details, HTTP headers, and other data transmitted to the client.
+
+Signature:
+
+```typescript
+export declare type LifecycleResponseFactory = typeof lifecycleResponseFactory;
+```
diff --git a/docs/development/core/server/kibana-plugin-server.md b/docs/development/core/server/kibana-plugin-server.md
index 9d5432312a645..d5e8b899d26e8 100644
--- a/docs/development/core/server/kibana-plugin-server.md
+++ b/docs/development/core/server/kibana-plugin-server.md
@@ -120,6 +120,7 @@ The plugin integrates with the core system via lifecycle events: `setup`
| [IsAuthenticated](./kibana-plugin-server.isauthenticated.md) | Return authentication status for a request. |
| [KibanaResponseFactory](./kibana-plugin-server.kibanaresponsefactory.md) | Creates an object containing request response payload, HTTP headers, error details, and other data transmitted to the client. |
| [KnownHeaders](./kibana-plugin-server.knownheaders.md) | Set of well-known HTTP headers. |
+| [LifecycleResponseFactory](./kibana-plugin-server.lifecycleresponsefactory.md) | Creates an object containing redirection or error response with error details, HTTP headers, and other data transmitted to the client. |
| [OnPostAuthHandler](./kibana-plugin-server.onpostauthhandler.md) | |
| [OnPreAuthHandler](./kibana-plugin-server.onpreauthhandler.md) | |
| [PluginInitializer](./kibana-plugin-server.plugininitializer.md) | The plugin
export at the root of a plugin's server
directory should conform to this interface. |
diff --git a/docs/development/core/server/kibana-plugin-server.onpostauthhandler.md b/docs/development/core/server/kibana-plugin-server.onpostauthhandler.md
index b28f55233d548..884eb3e6346bd 100644
--- a/docs/development/core/server/kibana-plugin-server.onpostauthhandler.md
+++ b/docs/development/core/server/kibana-plugin-server.onpostauthhandler.md
@@ -8,5 +8,5 @@
Signature:
```typescript
-export declare type OnPostAuthHandler() => OnPostAuthResult
| To pass request to the next handler |
-| [redirected](./kibana-plugin-server.onpostauthtoolkit.redirected.md) | (url: string) => OnPostAuthResult
| To interrupt request handling and redirect to a configured url |
-| [rejected](./kibana-plugin-server.onpostauthtoolkit.rejected.md) | (error: Error, options?: {
statusCode?: number;
}) => OnPostAuthResult
| Fail the request with specified error. |
diff --git a/docs/development/core/server/kibana-plugin-server.onpostauthtoolkit.redirected.md b/docs/development/core/server/kibana-plugin-server.onpostauthtoolkit.redirected.md
deleted file mode 100644
index 94eab27724c8c..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.onpostauthtoolkit.redirected.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [OnPostAuthToolkit](./kibana-plugin-server.onpostauthtoolkit.md) > [redirected](./kibana-plugin-server.onpostauthtoolkit.redirected.md)
-
-## OnPostAuthToolkit.redirected property
-
-To interrupt request handling and redirect to a configured url
-
-Signature:
-
-```typescript
-redirected: (url: string) => OnPostAuthResult;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.onpostauthtoolkit.rejected.md b/docs/development/core/server/kibana-plugin-server.onpostauthtoolkit.rejected.md
deleted file mode 100644
index 00efb4fde305e..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.onpostauthtoolkit.rejected.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [OnPostAuthToolkit](./kibana-plugin-server.onpostauthtoolkit.md) > [rejected](./kibana-plugin-server.onpostauthtoolkit.rejected.md)
-
-## OnPostAuthToolkit.rejected property
-
-Fail the request with specified error.
-
-Signature:
-
-```typescript
-rejected: (error: Error, options?: {
- statusCode?: number;
- }) => OnPostAuthResult;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.onpreauthhandler.md b/docs/development/core/server/kibana-plugin-server.onpreauthhandler.md
index 8374f83fc810c..5eca904227bb9 100644
--- a/docs/development/core/server/kibana-plugin-server.onpreauthhandler.md
+++ b/docs/development/core/server/kibana-plugin-server.onpreauthhandler.md
@@ -8,5 +8,5 @@
Signature:
```typescript
-export declare type OnPreAuthHandler() => OnPreAuthResult
| To pass request to the next handler |
-| [redirected](./kibana-plugin-server.onpreauthtoolkit.redirected.md) | (url: string, options?: {
forward: boolean;
}) => OnPreAuthResult
| To interrupt request handling and redirect to a configured url. If "options.forwarded" = true, request will be forwarded to another url right on the server. |
-| [rejected](./kibana-plugin-server.onpreauthtoolkit.rejected.md) | (error: Error, options?: {
statusCode?: number;
}) => OnPreAuthResult
| Fail the request with specified error. |
+| [rewriteUrl](./kibana-plugin-server.onpreauthtoolkit.rewriteurl.md) | (url: string) => OnPreAuthResult
| Rewrite requested resources url before is was authenticated and routed to a handler |
diff --git a/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.redirected.md b/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.redirected.md
deleted file mode 100644
index 77deb5b61c4e2..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.redirected.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [OnPreAuthToolkit](./kibana-plugin-server.onpreauthtoolkit.md) > [redirected](./kibana-plugin-server.onpreauthtoolkit.redirected.md)
-
-## OnPreAuthToolkit.redirected property
-
-To interrupt request handling and redirect to a configured url. If "options.forwarded" = true, request will be forwarded to another url right on the server.
-
-Signature:
-
-```typescript
-redirected: (url: string, options?: {
- forward: boolean;
- }) => OnPreAuthResult;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.rejected.md b/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.rejected.md
deleted file mode 100644
index 1fd79d0b5766b..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.rejected.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [OnPreAuthToolkit](./kibana-plugin-server.onpreauthtoolkit.md) > [rejected](./kibana-plugin-server.onpreauthtoolkit.rejected.md)
-
-## OnPreAuthToolkit.rejected property
-
-Fail the request with specified error.
-
-Signature:
-
-```typescript
-rejected: (error: Error, options?: {
- statusCode?: number;
- }) => OnPreAuthResult;
-```
diff --git a/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.rewriteurl.md b/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.rewriteurl.md
new file mode 100644
index 0000000000000..0f401379c20fd
--- /dev/null
+++ b/docs/development/core/server/kibana-plugin-server.onpreauthtoolkit.rewriteurl.md
@@ -0,0 +1,13 @@
+
+
+[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [OnPreAuthToolkit](./kibana-plugin-server.onpreauthtoolkit.md) > [rewriteUrl](./kibana-plugin-server.onpreauthtoolkit.rewriteurl.md)
+
+## OnPreAuthToolkit.rewriteUrl property
+
+Rewrite requested resources url before is was authenticated and routed to a handler
+
+Signature:
+
+```typescript
+rewriteUrl: (url: string) => OnPreAuthResult;
+```
diff --git a/docs/development/core/server/kibana-plugin-server.router.(constructor).md b/docs/development/core/server/kibana-plugin-server.router.(constructor).md
index 26048a603c9f6..5f8e1e5e293ab 100644
--- a/docs/development/core/server/kibana-plugin-server.router.(constructor).md
+++ b/docs/development/core/server/kibana-plugin-server.router.(constructor).md
@@ -16,5 +16,5 @@ constructor(path: string);
| Parameter | Type | Description |
| --- | --- | --- |
-| path | string
| a router path, set as the very first path segment for all registered routes. |
+| path | string
| |
diff --git a/docs/development/core/server/kibana-plugin-server.router.md b/docs/development/core/server/kibana-plugin-server.router.md
index a5eb1c66c4f0c..59a0a22ec7b5e 100644
--- a/docs/development/core/server/kibana-plugin-server.router.md
+++ b/docs/development/core/server/kibana-plugin-server.router.md
@@ -23,7 +23,6 @@ export declare class Router
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [path](./kibana-plugin-server.router.path.md) | | string
| |
-| [routes](./kibana-plugin-server.router.routes.md) | | Array<Readonly<RouterRoute>>
| |
## Methods
diff --git a/docs/development/core/server/kibana-plugin-server.router.routes.md b/docs/development/core/server/kibana-plugin-server.router.routes.md
deleted file mode 100644
index c825bfe72d236..0000000000000
--- a/docs/development/core/server/kibana-plugin-server.router.routes.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [Router](./kibana-plugin-server.router.md) > [routes](./kibana-plugin-server.router.routes.md)
-
-## Router.routes property
-
-Signature:
-
-```typescript
-routes: Array(route: RouteConfig
, handler: RequestHandler
): void; get
(route: RouteConfig
, handler: RequestHandler
): void;
+ // Warning: (ae-forgotten-export) The symbol "RouterRoute" needs to be exported by the entry point index.d.ts
+ //
// @internal
getRoutes(): Readonly (route: RouteConfig , handler: RequestHandler ): void;
put (route: RouteConfig , handler: RequestHandler ): void;
- // Warning: (ae-forgotten-export) The symbol "RouterRoute" needs to be exported by the entry point index.d.ts
- //
- // (undocumented)
- routes: Array