Use oc_sessionPassephrase to allow access

Hello,

I’m developing an app that need to check if the oc_sessionPassphrase cookie that i get is a valid cookie ? I don’t really know in which database tables are stored this cookies, i also found that there are encrypted so if someone can explain me how can i decrypt ?

Thanks,
Donovan

The cookies is stored in the browser.

Read up on HTTP cookies and how they work if you want to learn more about them.

The rest you can read from the source: server/Session.php at ac893e843b64b00ad83ce08e88534fc7c4d3f464 · nextcloud/server · GitHub

1 Like