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

Method constructor

app/core/social-handlers/GPlusHandler.js:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 constructor () {
31 super()
32 if (!me.useSocialSignOn()) { throw new Error('Social single sign on not supported') }
33 this.accessToken = storage.load(GPLUS_TOKEN_KEY, true)
34 }
35
36 token () { return (this.accessToken != null ? this.accessToken.access_token : undefined) }
37

Callers

nothing calls this directly

Calls 2

useSocialSignOnMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected