@kilterset/auth0-actions-testing
Version:
Test and develop Auth0 Actions or Okta CIC Actions locally.
16 lines • 739 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.connection = void 0;
const chance_1 = require("./chance");
const define_1 = require("./define");
const EXAMPLES = [
{ name: "Username-Password-Authentication", strategy: "auth0" },
{ name: "google-oauth2", strategy: "google-oauth2" },
{ name: "windowslive", strategy: "windowslive" },
{ name: "foo-onmicrosoft", strategy: "office365" },
{ name: "auth10.com", strategy: "adfs" },
];
exports.connection = (0, define_1.define)(() => {
return Object.assign({ id: `con_${chance_1.chance.string({ length: 24, alpha: true, numeric: true })}`, metadata: {} }, chance_1.chance.pickone(EXAMPLES));
});
//# sourceMappingURL=connection.js.map