2021-06-22 13:57:53 -05:00
|
|
|
<?php
|
|
|
|
|
2023-05-15 17:24:31 -05:00
|
|
|
class PoserDemo extends COREPOS\Fannie\API\FanniePlugin
|
|
|
|
{
|
|
|
|
public $plugin_description = 'Plugin to demo Poser customization';
|
2021-06-22 13:57:53 -05:00
|
|
|
|
2023-05-15 17:24:31 -05:00
|
|
|
public $plugin_settings = [
|
2021-06-22 13:57:53 -05:00
|
|
|
|
2023-05-15 17:24:31 -05:00
|
|
|
'PoserDemoTailboneAPIURL' => [
|
|
|
|
'label' => 'Tailbone API URL',
|
|
|
|
'description' => 'Base URL for Tailbone API (usually ends with /api)',
|
|
|
|
],
|
2021-06-22 13:57:53 -05:00
|
|
|
|
2023-05-15 17:24:31 -05:00
|
|
|
'PoserDemoTailboneAPIToken' => [
|
|
|
|
'label' => 'Tailbone API Token',
|
|
|
|
'description' => 'User auth token for use with Tailbone API',
|
|
|
|
],
|
2021-06-22 13:57:53 -05:00
|
|
|
|
2023-05-15 17:24:31 -05:00
|
|
|
'PoserDemoTailboneAPIVerifySSL' => [
|
|
|
|
'label' => 'Verify SSL',
|
|
|
|
'description' => 'Validate SSL cert used by Tailbone API?',
|
|
|
|
'options' => [
|
|
|
|
"Yes, validate the SSL cert" => 'true',
|
|
|
|
"No, do not validate the SSL cert (SHOULD ONLY BE USED FOR TESTING!)" => 'false',
|
|
|
|
],
|
|
|
|
'default'=>'true',
|
|
|
|
],
|
|
|
|
];
|
2021-06-22 13:57:53 -05:00
|
|
|
}
|