Previously, the dev would use getSessionId() to check whether the user is signed in. They'd then use the sessionId value to perform database operations, such as getting some session/user object.
Now, this is all done in a single step. The dev configures which data is saved to the database within handleCallback(). getSessionData() then returns that data from a given request.
Previously, the dev would use
getSessionId()
to check whether the user is signed in. They'd then use thesessionId
value to perform database operations, such as getting some session/user object.Now, this is all done in a single step. The dev configures which data is saved to the database within
handleCallback()
.getSessionData()
then returns that data from a given request.Reviews, concerns and suggestions are welcome.