mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
* add response factory to the interceptors * adopt x-pack code to the changes * Add a separate response factory for lifecycles. Only route handler can respond with 2xx response. Interceptors may redirect or reject an incoming request. * re-generate docs * response.internal --> response.internalError * use internalError for exceptions in authenticator * before Security plugin proxied ES error status code. now sets explicitly. * provide error via message field of error response for BWC * update docs * add customError response * restore integration test and update unit tests * update docs * support Hapi error format for BWC * add a couple of tests
692 B
692 B
Home > kibana-plugin-server > AuthToolkit
AuthToolkit interface
A tool set defining an outcome of Auth interceptor for incoming request.
Signature:
export interface AuthToolkit
Properties
Property | Type | Description |
---|---|---|
authenticated | (data?: AuthResultParams) => AuthResult |
Authentication is successful with given credentials, allow request to pass through |