How can i manually store the Session object after the login process?

Hi to everyone,

I’m currently working with the “@inrupt/solid-client-authn-node” library. I’m developing a sort of middleware server, that after an authentication stores the session of the login in memory.
The way in which i’m executing the login is by using

var session=await client.login( 
          idp:...
          username: .....
          password: ......
          oidcIusser: .....
)

The login actually works fine, but i’dont’ know how to manually store the Session object retrived from the process, in the session memory, in order to fetch the next calls.
Thank you for your help!