e5eb7c3906
* perf: use getSlimServerSession for session retrieval Creates a new `getSlimServerSession` method and replaces all calls to `getServerSession`. The new method is much faster than `getServerSession` with it not requiring the NextAuth options object which includes a number of additional packages. Additionally introduces a primitive in-memory cache for slim sessions. * fix: account for seconds in token.exp * Reverts diffs * Replaces getServerSession with slimmer version * Update disable.ts --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Keith Williams <keithwillcode@gmail.com> Co-authored-by: zomars <zomars@me.com> |
||
---|---|---|
.. | ||
ErrorCode.ts | ||
ensureSession.ts | ||
getServerSession.ts | ||
getSession.ts | ||
hashPassword.ts | ||
identityProviderNameMap.ts | ||
isPasswordValid.ts | ||
next-auth-custom-adapter.ts | ||
next-auth-options.ts | ||
sendVerificationRequest.ts | ||
signJwt.ts | ||
validPassword.ts | ||
verifyPassword.ts |