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

Function signupWithGPlus

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

Source from the content-addressed store, hash-verified

39 },
40
41 signupWithGPlus ({ userID, name, email, gplusID }, options) {
42 if (options == null) { options = {} }
43 return fetchJson(this.url(userID, 'signup-with-gplus'), _.assign({}, options, {
44 method: 'POST',
45 credentials: 'include',
46 json: { name, email, gplusID, gplusAccessToken: application.gplusHandler.token() }
47 }))
48 },
49
50 signupWithOAuth2 ({ userID, email, ...attrs }) {
51 return fetchJson(this.url(userID, 'signup-with-oauth2'), _.assign({}, {

Callers

nothing calls this directly

Calls 1

tokenMethod · 0.45

Tested by

no test coverage detected