Add allowClientClassCreation option

This commit is contained in:
Marco129
2016-02-26 22:55:39 +08:00
parent 57c936485e
commit 97489106b4
7 changed files with 83 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ function ParseServer({
fileKey = 'invalid-file-key',
facebookAppIds = [],
enableAnonymousUsers = true,
allowClientClassCreation = true,
oauth = {},
serverURL = requiredParameter('You must provide a serverURL!'),
maxUploadSize = '20mb'
@@ -139,6 +140,7 @@ function ParseServer({
loggerController: loggerController,
hooksController: hooksController,
enableAnonymousUsers: enableAnonymousUsers,
allowClientClassCreation: allowClientClassCreation,
oauth: oauth,
};