Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose authorization header parser (#152559)
Resolves #152116 ## Summary Exposes HTTPAuthorizationHeader interface to allow extracting credentials from request headers. ## Example ```ts import { HTTPAuthorizationHeader } from '@kbn/security-plugin/server'; HTTPAuthorizationHeader.parseFromRequest(request); ``` Returns the following object: ``` HTTPAuthorizationHeader { scheme: 'ApiKey', credentials: 'ZmhPUm5JWUItbEhKWktnU2VjWlY6TF9CSDB1c3JSd1NsZkNzZ3kzMnNpdw==' } ```
- Loading branch information