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

Function signupWithFacebook

app/core/api/users.js:32–39  ·  view source on GitHub ↗
({ userID, name, email, facebookID }, options)

Source from the content-addressed store, hash-verified

30 },
31
32 signupWithFacebook ({ userID, name, email, facebookID }, options) {
33 if (options == null) { options = {} }
34 return fetchJson(this.url(userID, 'signup-with-facebook'), _.assign({}, options, {
35 method: 'POST',
36 credentials: 'include',
37 json: { name, email, facebookID, facebookAccessToken: application.facebookHandler.token() }
38 }))
39 },
40
41 signupWithGPlus ({ userID, name, email, gplusID }, options) {
42 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls 1

tokenMethod · 0.45

Tested by

no test coverage detected