feat(auth): persist cookie based apiKey in document.cookie (#8689)
Refs #8683
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import reducers from "./reducers"
|
||||
import * as actions from "./actions"
|
||||
import * as selectors from "./selectors"
|
||||
import * as specWrapActionReplacements from "./spec-wrap-actions"
|
||||
import { execute as wrappedExecuteAction } from "./spec-extensions/wrap-actions"
|
||||
import { loaded as wrappedLoadedAction } from "./configs-extensions/wrap-actions"
|
||||
import { authorize as wrappedAuthorizeAction, logout as wrappedLogoutAction } from "./wrap-actions"
|
||||
|
||||
export default function() {
|
||||
return {
|
||||
@@ -15,11 +17,22 @@ export default function() {
|
||||
auth: {
|
||||
reducers,
|
||||
actions,
|
||||
selectors
|
||||
selectors,
|
||||
wrapActions: {
|
||||
authorize: wrappedAuthorizeAction,
|
||||
logout: wrappedLogoutAction,
|
||||
}
|
||||
},
|
||||
configs: {
|
||||
wrapActions: {
|
||||
loaded: wrappedLoadedAction,
|
||||
},
|
||||
},
|
||||
spec: {
|
||||
wrapActions: specWrapActionReplacements
|
||||
}
|
||||
wrapActions: {
|
||||
execute: wrappedExecuteAction,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user