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