Player Sessions?

Hi,

I was looking for any insight in regards to implementing player sessions in LY. Ideally, I would like to store user attributes to the session id and reference them (something like php sessions).

Is there a way to retrieve Access Tokens from the cache / authenticate it from my own Lambda? I’m currently trying to secure an API that I have on the backend so that a user would need to be logged in before running queries.

Thank you!