Skip to content

Function: applyResponseToSession() ​

ts
function applyResponseToSession(session, response): SessionData;

Pulls refreshed auth material out of response headers into the session.

Parameters ​

ParameterType
sessionSessionData
responseHttpResponse

Returns ​

SessionData

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.