MCPcopy Create free account
hub / github.com/parse-community/parse-server / validateAuthData

Function validateAuthData

spec/support/myoauth.js:4–9  ·  view source on GitHub ↗
(authData)

Source from the content-addressed store, hash-verified

2
3// Returns a promise that fulfills iff this user id is valid.
4function validateAuthData(authData) {
5 if (authData.id == '12345' && authData.access_token == '12345') {
6 return Promise.resolve();
7 }
8 return Promise.reject();
9}
10function validateAppId() {
11 return Promise.resolve();
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…