Skip to content
Snippets Groups Projects
Verified Commit 7e19e80f authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

fix(deps): use composer and PSR-4 autoload instead of submodule

parent d332cbdc
No related branches found
No related tags found
No related merge requests found
[submodule "lib/sdk-php"]
path = lib/sdk-php
url = https://github.com/privacyidea/sdk-php.git
branch = master
\ No newline at end of file
......@@ -4,6 +4,7 @@
"type": "simplesamlphp-module",
"license": "AGPL-3.0",
"require": {
"simplesamlphp/composer-module-installer": "~1.0"
"simplesamlphp/composer-module-installer": "~1.0",
"privacyidea/privacyidea-php-client": "dev-master"
}
}
<?php
use PrivacyIdea\PHPClient\PIBadRequestException;
use PrivacyIdea\PHPClient\PILog;
use PrivacyIdea\PHPClient\PrivacyIDEA;
/**
* This authentication processing filter allows you to add a second step
* authentication against privacyIDEA
......@@ -9,8 +13,6 @@
* @author Lukas Matusiewicz <lukas.matusiewicz@netknights.it>
*/
require_once((dirname(__FILE__, 3)) . '/sdk-php/src/SDK-Autoloader.php');
class sspmod_privacyidea_Auth_Process_PrivacyideaAuthProc extends SimpleSAML_Auth_ProcessingFilter implements PILog
{
/* @var array This contains the authproc configuration which is set in metadata */
......
<?php
use PrivacyIdea\PHPClient\PIResponse;
/**
* This is the helper class for PrivacyideaAuthSource.php
*/
......
<?php
const DEFAULT_UID_KEYS = array("username", "surname", "email", "givenname", "mobile", "phone", "realm", "resolver");
use PrivacyIdea\PHPClient\PILog;
use PrivacyIdea\PHPClient\PrivacyIDEA;
require_once((dirname(__FILE__, 3)) . '/sdk-php/src/SDK-Autoloader.php');
const DEFAULT_UID_KEYS = array("username", "surname", "email", "givenname", "mobile", "phone", "realm", "resolver");
/**
* privacyidea authentication module.
......
<?php
require_once((dirname(__FILE__, 2)) . '/sdk-php/src/SDK-Autoloader.php');
use PrivacyIdea\PHPClient\PIResponse;
use PrivacyIdea\PHPClient\PrivacyIDEA;
class sspmod_privacyidea_Auth_utils
{
......
Subproject commit f3f1505a725bd85547ff50d467602bbbeadaf871
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment