Access cookie from dbAuth on web side?

I’m using dbAuth. I was working on persisting some data in sessionStorage, for my use case it would be great to tag the item name with the session cookie so that if a user logs in/logs out we can have unique data based on that session. I couldn’t find any easy way of getting the cookie on web side, am I missing something?