MCPcopy
hub / github.com/openstf/stf / verify

Function verify

lib/units/auth/oauth2/index.js:19–21  ·  view source on GitHub ↗
(accessToken, refreshToken, profile, done)

Source from the content-addressed store, hash-verified

17 app.set('case sensitive routing', true)
18
19 function verify(accessToken, refreshToken, profile, done) {
20 done(null, profile)
21 }
22
23 passport.use(new Strategy(options.oauth, verify))
24

Callers

nothing calls this directly

Calls 1

doneFunction · 0.85

Tested by

no test coverage detected