Ghost/core/server/services/auth
Fabien O'Carroll 23154f0739
Refactored session service (#11701)
* Refactored SessionStore to use @tryghost/errors

no-issue

* Updated tests to test exposed API

no-issue

This will make refactoring easier, as we only have the "public" contract to maintain

* Refactored session functionality to SessionService

no-issue

This splits the session logic away from the HTTP responding logic,
which will allows us to decouple session creation/modification from the
API. Eventually this can be used to create sessions based on magiclink
style tokens.

* Instantiated and exported the new SessionService

no-issue

* Refactored session middleware to take session service

no-issue

This removes duplication of code and makes the middleware more explicit
that it's just a wrapper around the session service.

* Updated to use external @tryghost/session-service

no-issue
2020-04-02 16:27:31 +02:00
..
api-key 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
members Fixed invalid method usage in members authentication 2019-06-27 15:21:21 +05:30
session Refactored session service (#11701) 2020-04-02 16:27:31 +02:00
authenticate.js 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
authorize.js 🔥 Removed v0.1 auth services (#11104) 2019-09-11 19:40:48 +02:00
index.js 🔥 Removed v0.1 auth services (#11104) 2019-09-11 19:40:48 +02:00
passwordreset.js Refactored authentication controller v0.1 (#10893) 2019-07-17 12:28:16 +02:00
setup.js 🐛 Fixed blog setup crashing for falsy email config (#11041) 2019-08-20 15:43:43 +05:30