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