People generally do not expect getSession/verifySession to be calling the core.
Two main reasons that those functions call the core are:
claim value refreshes: we can alleviate this by setting the default refresh times to infinity.
marking the refresh token as "delivered" by making a core call that removes the parent refresh token hash from the payload: we can skip this by assuming that the delivery happened after some time.
Implementation details
we can assume (in the core) that the parent refresh token is delivered after a grace period
🚀 Feature
People generally do not expect
getSession
/verifySession
to be calling the core. Two main reasons that those functions call the core are:Implementation details