We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0164f35 + adfe87c commit 8d13839Copy full SHA for 8d13839
src/index.js
@@ -1,12 +1,15 @@
1
import setupServiceModule from './service-module/service-module'
2
import setupAuthModule from './auth-module/auth-module'
3
+import { initAuth } from './utils'
4
5
const globalDefaults = {
6
idField: 'id', // The field in each record that will contain the id
7
autoRemove: false, // automatically remove records missing from responses (only use with feathers-rest)
8
nameStyle: 'short' // Determines the source of the module name. 'short', 'path', or 'explicit'
9
}
10
11
+export { initAuth }
12
+
13
export default function (feathersClient, globalOptions = {}) {
14
globalOptions = Object.assign({}, globalDefaults, globalOptions)
15
0 commit comments