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

Method postLoginUrl

lib/requests/login-request.mjs:60–66  ·  view source on GitHub ↗
(validUser)

Source from the content-addressed store, hash-verified

58 }
59
60 postLoginUrl (validUser) {
61 if (/token|code/.test(this.authQueryParams.response_type)) {
62 return this.sharingUrl()
63 } else if (validUser) {
64 return this.authQueryParams.redirect_uri || validUser.accountUri
65 }
66 }
67
68 redirectPostLogin (validUser) {
69 const uri = this.postLoginUrl(validUser)

Callers 2

redirectPostLoginMethod · 0.95

Calls 1

sharingUrlMethod · 0.80

Tested by

no test coverage detected