kibana/docs/development
Pierre Gayvallet 7d576b7695
[8.0] Add API to refresh authc headers and retry ES request when 401 is encountered (#120677) (#123227)
* Add API to refresh authc headers and retry ES request when 401 is encountered (#120677)

* initial POC

* remove test code

* update the header holding logic

* add new API to plugin context

* introduce the IAuthHeadersStorage interface

* fix some types, mocks and tests

* export types from server entrypoint

* also export error type

* more doc

* update generated doc

* Fix ES service tests

* add tests for createInternalErrorHandler

* fix type in cli_setup

* generated doc

* add tests for configureClient

* add unit tests for custom transport class

* fix handler propagation to initial clients

* lint

* address review comments

(cherry picked from commit b6060544cc)

# Conflicts:
#	src/core/server/http/auth_headers_storage.ts

* try to please typescript
2022-01-18 08:31:30 -07:00
..
core [8.0] Add API to refresh authc headers and retry ES request when 401 is encountered (#120677) (#123227) 2022-01-18 08:31:30 -07:00
plugins/expressions/public Turn off api changes for app services and remove legacy docs for App Services plugins (#109927) 2021-08-26 14:01:21 -04:00