This commit is contained in:
2025-10-20 14:10:54 +02:00
parent 75ca8fd840
commit d2c1970ef8
732 changed files with 101915 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
<?php
/**
* File from http://PrestaShow.pl
*
* DISCLAIMER
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future.
*
* @author PrestaShow.pl <kontakt@prestashow.pl>
* @copyright Since 2014 PrestaShow.pl
* @license https://prestashow.pl/license
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,14 @@
services:
_defaults:
public: false
autowire: true
autoconfigure: true
Prestashow\PShowSSO\Link\Controller\Admin\ConfigurationController:
class: Prestashow\PShowSSO\Link\Controller\Admin\ConfigurationController
public: true
autowire: true
autoconfigure: true
tags:
- { name: controller.service_arguments }
- { name: kernel.controller_subscriber }

View File

@@ -0,0 +1,21 @@
<?php
/**
* File from http://PrestaShow.pl
*
* DISCLAIMER
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future.
*
* @author PrestaShow.pl <kontakt@prestashow.pl>
* @copyright Since 2014 PrestaShow.pl
* @license https://prestashow.pl/license
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,61 @@
services:
_defaults:
public: false
autowire: true
autoconfigure: true
prestashow.customer.service:
class: Prestashow\PShowSSO\Service\CustomerService
arguments:
- '@hashing'
- '@context'
public: true
prestashow.service.sso.github:
class: Prestashow\PShowSSO\SSO\Github\GithubService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true
prestashow.service.sso.google:
class: Prestashow\PShowSSO\SSO\Google\GoogleService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true
prestashow.service.sso.apple:
class: Prestashow\PShowSSO\SSO\Apple\AppleService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true
prestashow.service.sso.facebook:
class: Prestashow\PShowSSO\SSO\Facebook\FacebookService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true
prestashow.service.sso.x:
class: Prestashow\PShowSSO\SSO\X\XService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true
prestashow.service.sso.microsoft:
class: Prestashow\PShowSSO\SSO\Microsoft\MicrosoftService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true
prestashow.service.sso.keycloak:
class: Prestashow\PShowSSO\SSO\Keycloak\KeycloakService
arguments:
- '@context'
- '@prestashow.customer.service'
public: true

View File

@@ -0,0 +1,21 @@
<?php
/**
* File from http://PrestaShow.pl
*
* DISCLAIMER
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future.
*
* @author PrestaShow.pl <kontakt@prestashow.pl>
* @copyright Since 2014 PrestaShow.pl
* @license https://prestashow.pl/license
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,12 @@
# modules/pshowsso/config/routes.yml
pshowsso_admin_config: # <- nazwa z podkreśleniami
path: /pshowsso/{service}/config # <- koniecznie z wiodącym "/"
methods: [GET, POST]
defaults:
_controller: 'Prestashow\PShowSSO\Link\Controller\Admin\ConfigurationController::configurationAction'
_legacy_controller: 'AdminPshowssoConfig' # pomaga uprawnieniom/BO
_legacy_link: 'AdminPshowssoConfig'
service: 'apple'
requirements:
service: '[a-z]+'