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

Method confirmBindAIYouth

app/models/User.js:1148–1155  ·  view source on GitHub ↗
(provider, token, options = {})

Source from the content-addressed store, hash-verified

1146 }
1147
1148 confirmBindAIYouth (provider, token, options = {}) {
1149 options.url = '/auth/bind-aiyouth'
1150 options.type = 'POST'
1151 if (options.data == null) { options.data = {} }
1152 options.data.token = token
1153 options.data.provider = provider
1154 return this.fetch(options)
1155 }
1156
1157 changePassword (userId, password, options = {}) {
1158 options.url = '/auth/change-password'

Callers 1

onClickConfirmAuthMethod · 0.80

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected