PMCORE-1181 Is possible to get an access token without send a valid 'client_id' and 'client_secret'

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-04-15 02:33:51 -04:00
parent 349f4be85a
commit 85e3f191b1
7 changed files with 722 additions and 17 deletions

View File

@@ -0,0 +1,18 @@
<?php
use Faker\Generator as Faker;
$factory->define(\ProcessMaker\Model\LicenseManager::class, function(Faker $faker) {
return [
"LICENSE_UID" => $faker->regexify("/[a-zA-Z]{32}/"),
"LICENSE_USER" => $faker->name,
"LICENSE_START" => 0,
"LICENSE_END" => 0,
"LICENSE_SPAN" => 0,
"LICENSE_STATUS" => 'ACTIVE',
"LICENSE_DATA" => '',
"LICENSE_PATH" => '',
"LICENSE_WORKSPACE" => '',
"LICENSE_TYPE" => 'ONPREMISE'
];
});