Skip to content

[7.x] Session storage refactoring (#37992)#38385

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-37992
Jun 7, 2019
Merged

[7.x] Session storage refactoring (#37992)#38385
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-37992

Conversation

@mshustov
Copy link
Contributor

@mshustov mshustov commented Jun 7, 2019

Backports the following commits to 7.x:

* Kibana request keep a reference to raw request. used to bind hapi-cookie

* CookieSessionStorage should work with KibanaRequest

as soon as registerAuth refactored to restrict access to hapi Request, CookieSessionStorage won't work with hapi request directly

* change registerAuth public api

* adopt auth lifecycle tests

* move lifecycle auth tests from integration to unit and adopt to new api.

* mark toRawRequest as internal to prevent exposure

* generate docs

* reword test cases

* mark Request internals in tsdoc
@mshustov mshustov added the backport This PR is a backport of another PR label Jun 7, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mshustov mshustov merged commit e84bb5c into elastic:7.x Jun 7, 2019
@mshustov mshustov deleted the backport/7.x/pr-37992 branch June 7, 2019 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants