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

Method login

lib/requests/login-request.mjs:51–58  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

49 }
50
51 static login (request) {
52 return request.authenticator.findValidUser()
53 .then(validUser => {
54 request.initUserSession(validUser)
55 request.redirectPostLogin(validUser)
56 })
57 .catch(error => request.error(error))
58 }
59
60 postLoginUrl (validUser) {
61 if (/token|code/.test(this.authQueryParams.response_type)) {

Callers 3

loginPasswordMethod · 0.80
loginTlsMethod · 0.80

Calls 4

initUserSessionMethod · 0.80
redirectPostLoginMethod · 0.80
findValidUserMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected