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

Function isLogoutRequest

lib/create-app.mjs:321–325  ·  view source on GitHub ↗

* Determines whether the given request is a logout request

(req)

Source from the content-addressed store, hash-verified

319 * Determines whether the given request is a logout request
320 */
321function isLogoutRequest (req) {
322 // TODO: this is a hack that hard-codes OIDC paths,
323 // this code should live in the OIDC module
324 return req.path === '/logout' || req.path === '/goodbye'
325}
326
327/**
328 * Sets up authentication-related routes and handlers for the app.

Callers 1

initWebIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected