2020-03-03 17:59:19 -05:00
|
|
|
import path from 'path';
|
2021-10-29 10:33:05 -05:00
|
|
|
|
2020-08-13 16:27:00 -05:00
|
|
|
import { configExample as config } from '@verdaccio/mock';
|
2020-03-03 17:59:19 -05:00
|
|
|
|
|
|
|
export const authProfileConf = config({
|
|
|
|
auth: {
|
2020-08-13 16:27:00 -05:00
|
|
|
[`${path.join(__dirname, '../partials/plugin/authenticate.success')}`]: {},
|
|
|
|
},
|
2020-03-03 17:59:19 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
export const authPluginFailureConf = config({
|
|
|
|
auth: {
|
2020-08-13 16:27:00 -05:00
|
|
|
[`${path.join(__dirname, '../partials/plugin/authenticate.fail')}`]: {},
|
|
|
|
},
|
2020-03-03 17:59:19 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
export const authPluginPassThrougConf = config({
|
|
|
|
auth: {
|
2020-08-13 16:27:00 -05:00
|
|
|
[`${path.join(__dirname, '../partials/plugin/authenticate.passthroug')}`]: {},
|
|
|
|
},
|
2020-03-03 17:59:19 -05:00
|
|
|
});
|