-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,7 +140,7 @@ export interface ParseServerOptions { | |
allowCustomObjectId: ?boolean; | ||
/* Configuration for your authentication providers, as stringified JSON. See http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication | ||
:ENV: PARSE_SERVER_AUTH_PROVIDERS */ | ||
auth: ?any; | ||
auth: ?(AuthAdapter[]); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
FransGH
Contributor
|
||
/* Max file size for uploads, defaults to 20mb | ||
:DEFAULT: 20mb */ | ||
maxUploadSize: ?string; | ||
|
@@ -506,3 +506,11 @@ export interface DatabaseOptions { | |
:DEFAULT: false */ | ||
enableSchemaHooks: ?boolean; | ||
} | ||
|
||
export interface AuthAdapter { | ||
/* Is `true` if the auth adapter is enabled, `false` otherwise. | ||
:DEFAULT: true | ||
:ENV: | ||
*/ | ||
enabled: ?boolean; | ||
} |
This breaks the custom auth adapter on 6.0.0