1
0
Fork 0

Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security

This commit is contained in:
Philipp Holzer 2020-09-30 11:14:01 +02:00
parent 8fb3aa47dd
commit 8318a0b640
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
13 changed files with 14 additions and 12 deletions

View file

@ -58,7 +58,7 @@ if (php_sapi_name() !== 'cli') {
use Dice\Dice;
use Friendica\App\Mode;
use Friendica\Util\ExAuth;
use Friendica\Security\ExAuth;
use Psr\Log\LoggerInterface;
if (sizeof($_SERVER["argv"]) == 0) {

View file

@ -4,7 +4,7 @@
/* Generic exception class
*/
use Friendica\Network\FKOAuthDataStore;
use Friendica\Security\FKOAuthDataStore;
if (!class_exists('OAuthException', false)) {
class OAuthException extends Exception

View file

@ -54,7 +54,7 @@ use Friendica\Object\EMail\ItemCCEMail;
use Friendica\Protocol\Activity;
use Friendica\Protocol\Diaspora;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Security;
use Friendica\Security\Security;
use Friendica\Util\Strings;
use Friendica\Worker\Delivery;

View file

@ -47,7 +47,7 @@ use Friendica\Util\Crypto;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Images;
use Friendica\Util\Map;
use Friendica\Util\Security;
use Friendica\Security\Security;
use Friendica\Util\Strings;
use Friendica\Util\Temporal;
use Friendica\Util\XML;

View file

@ -33,7 +33,7 @@ use Friendica\Model\Item;
use Friendica\Model\Profile;
use Friendica\Model\User;
use Friendica\Module\BaseProfile;
use Friendica\Util\Security;
use Friendica\Security\Security;
function videos_init(App $a)
{

View file

@ -28,7 +28,7 @@ use Friendica\DI;
use Friendica\Object\Image;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Mimetype;
use Friendica\Util\Security;
use Friendica\Security\Security;
/**
* Class to handle attach dabatase table

View file

@ -31,7 +31,7 @@ use Friendica\Model\Storage\SystemResource;
use Friendica\Object\Image;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Images;
use Friendica\Util\Security;
use Friendica\Security\Security;
use Friendica\Util\Strings;
require_once "include/dba.php";

View file

@ -36,7 +36,7 @@ use Friendica\Module\BaseProfile;
use Friendica\Module\Security\Login;
use Friendica\Network\HTTPException;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Security;
use Friendica\Security\Security;
use Friendica\Util\Strings;
use Friendica\Util\XML;

View file

@ -25,7 +25,7 @@ use Friendica\Core\Logger;
use Friendica\Core\Protocol;
use Friendica\DI;
use Friendica\Protocol\Activity;
use Friendica\Util\Security;
use Friendica\Security\Security;
/**
* A list of threads

View file

@ -32,7 +32,7 @@
*
*/
namespace Friendica\Util;
namespace Friendica\Security;
use Exception;
use Friendica\App;
@ -42,6 +42,7 @@ use Friendica\Database\Database;
use Friendica\DI;
use Friendica\Model\User;
use Friendica\Network\HTTPException;
use Friendica\Util\PidFile;
class ExAuth
{

View file

@ -24,6 +24,7 @@ namespace Friendica\Network;
use Friendica\Core\Logger;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Security\FKOAuthDataStore;
use OAuthServer;
use OAuthSignatureMethod_HMAC_SHA1;
use OAuthSignatureMethod_PLAINTEXT;

View file

@ -19,7 +19,7 @@
*
*/
namespace Friendica\Network;
namespace Friendica\Security;
use Friendica\Core\Logger;
use Friendica\Database\DBA;

View file

@ -19,7 +19,7 @@
*
*/
namespace Friendica\Util;
namespace Friendica\Security;
use Friendica\Database\DBA;
use Friendica\Model\Contact;