function setCachedSession setCachedSession(session: AuthSession | null): void Store the resolved session in the current request's store Parameters session: AuthSession | null Return Type void