MCPcopy Create free account
hub / github.com/codecombat/codecombat / fetchGPlusUser

Method fetchGPlusUser

app/models/User.js:1084–1090  ·  view source on GitHub ↗
(gplusID, email, options = {})

Source from the content-addressed store, hash-verified

1082 }
1083
1084 fetchGPlusUser (gplusID, email, options = {}) {
1085 if (options.data == null) { options.data = {} }
1086 options.data.gplusID = gplusID
1087 options.data.gplusAccessToken = application.gplusHandler.token()
1088 options.data.email = email
1089 return this.fetch(options)
1090 }
1091
1092 linkGPlusUser (gplusID, email, options = {}) {
1093 options.url = `/db/user/${this.id}/link-with-gplus`

Callers 2

successMethod · 0.95

Calls 2

tokenMethod · 0.45
fetchMethod · 0.45

Tested by

no test coverage detected