MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / setEmptySession

Function setEmptySession

lib/api/authn/webid-tls.mjs:48–50  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

46}
47
48export function setEmptySession (req) {
49 req.session.userId = ''
50}
51
52/**
53 * Sets the `WWW-Authenticate` response header for 401 error responses.

Callers 1

handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected