Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/ClientRegistration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\Db;

class ClientRegistration
{
public static function getRegistration($clientId)
Expand Down
2 changes: 0 additions & 2 deletions lib/IpAttempts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\Db;

class IpAttempts
{
public static function logFailedAttempt($ip, $type, $expires)
Expand Down
2 changes: 0 additions & 2 deletions lib/JtiStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\Db;

class JtiStore
{
public static function hasJti($jti)
Expand Down
2 changes: 0 additions & 2 deletions lib/MailTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\MailTemplateGenerator;

class MailTemplates
{
public static function verify()
Expand Down
1 change: 0 additions & 1 deletion lib/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\MailTemplates;
use PHPMailer\PHPMailer\PHPMailer;

class Mailer
Expand Down
4 changes: 0 additions & 4 deletions lib/ProfileServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\Server;
use Pdsinterop\PhpSolid\User;
use Pdsinterop\PhpSolid\Util;

class ProfileServer extends Server
{
public static function getMimeDetector()
Expand Down
8 changes: 3 additions & 5 deletions lib/Routes/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

namespace Pdsinterop\PhpSolid\Routes;

use Pdsinterop\PhpSolid\Server;
use Pdsinterop\PhpSolid\ClientRegistration;
use Pdsinterop\PhpSolid\User;
use Pdsinterop\PhpSolid\Session;
use Pdsinterop\PhpSolid\Mailer;
use Pdsinterop\PhpSolid\IpAttempts;
use Pdsinterop\PhpSolid\Mailer;
use Pdsinterop\PhpSolid\Session;
use Pdsinterop\PhpSolid\StorageServer;
use Pdsinterop\PhpSolid\User;

class Account
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Routes/SolidIdp.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace Pdsinterop\PhpSolid\Routes;

use Pdsinterop\PhpSolid\Server;
use Pdsinterop\PhpSolid\ClientRegistration;
use Pdsinterop\PhpSolid\User;
use Pdsinterop\PhpSolid\Server;
use Pdsinterop\PhpSolid\Session;
use Pdsinterop\PhpSolid\User;

class SolidIdp
{
Expand Down
9 changes: 4 additions & 5 deletions lib/Routes/SolidStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

namespace Pdsinterop\PhpSolid\Routes;

use Pdsinterop\PhpSolid\User;
use Pdsinterop\PhpSolid\StorageServer;
use Pdsinterop\PhpSolid\ClientRegistration;
use Laminas\Diactoros\Response;
use Laminas\Diactoros\ServerRequestFactory;
use Pdsinterop\PhpSolid\SolidNotifications;
use Pdsinterop\PhpSolid\StorageServer;
use Pdsinterop\PhpSolid\User;
use Pdsinterop\PhpSolid\Util;
use Pdsinterop\Solid\Auth\WAC;
use Pdsinterop\Solid\Resources\Server as ResourceServer;
use Laminas\Diactoros\ServerRequestFactory;
use Laminas\Diactoros\Response;

class SolidStorage
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Routes/SolidStorageProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Pdsinterop\PhpSolid\Routes;

use Pdsinterop\PhpSolid\StorageServer;
use Laminas\Diactoros\ServerRequestFactory;
use Pdsinterop\PhpSolid\StorageServer;

class SolidStorageProvider
{
Expand Down
5 changes: 2 additions & 3 deletions lib/Routes/SolidUserProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

namespace Pdsinterop\PhpSolid\Routes;

use Laminas\Diactoros\Response;
use Laminas\Diactoros\ServerRequestFactory;
use Pdsinterop\PhpSolid\ProfileServer;
use Pdsinterop\PhpSolid\ClientRegistration;
use Pdsinterop\PhpSolid\SolidNotifications;
use Pdsinterop\PhpSolid\Util;
use Pdsinterop\Solid\Auth\WAC;
use Pdsinterop\Solid\Resources\Server as ResourceServer;
use Laminas\Diactoros\ServerRequestFactory;
use Laminas\Diactoros\Response;

class SolidUserProfile
{
Expand Down
14 changes: 6 additions & 8 deletions lib/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\Solid\Auth\Factory\AuthorizationServerFactory;
use Laminas\Diactoros\Response;
use Pdsinterop\Solid\Auth\Server as SolidAuthServer;
use Pdsinterop\Solid\Auth\Factory\ConfigFactory;
use Pdsinterop\Solid\Auth\Config\Client as ConfigClient;
use Pdsinterop\Solid\Auth\Utils\ReplayDetector;
use Pdsinterop\Solid\Auth\Utils\DPop;
use Pdsinterop\Solid\Auth\Factory\AuthorizationServerFactory;
use Pdsinterop\Solid\Auth\Factory\ConfigFactory;
use Pdsinterop\Solid\Auth\Server as SolidAuthServer;
use Pdsinterop\Solid\Auth\TokenGenerator;
use Pdsinterop\Solid\Auth\Utils\Bearer;
use Pdsinterop\Solid\Auth\Utils\DPop;
use Pdsinterop\Solid\Auth\Utils\JtiValidator;
use Pdsinterop\Solid\Auth\TokenGenerator;
use Pdsinterop\PhpSolid\ClientRegistration;
use Pdsinterop\PhpSolid\JtiStore;
use Pdsinterop\Solid\Auth\Utils\ReplayDetector;

class Server
{
Expand Down
1 change: 0 additions & 1 deletion lib/SolidNotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\SolidPubSub;
use Pdsinterop\Solid\SolidNotifications\SolidNotificationsInterface;

class SolidNotifications implements SolidNotificationsInterface
Expand Down
2 changes: 1 addition & 1 deletion lib/SolidPubSub.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Pdsinterop\PhpSolid;

use WebSocket\Client;
use Pdsinterop\Solid\SolidNotifications\SolidNotificationsInterface;
use WebSocket\Client;

class SolidPubSub implements SolidNotificationsInterface
{
Expand Down
5 changes: 0 additions & 5 deletions lib/StorageServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\Server;
use Pdsinterop\PhpSolid\User;
use Pdsinterop\PhpSolid\Util;
use Pdsinterop\PhpSolid\Db;

class StorageServer extends Server
{
public static function getStorage($storageId)
Expand Down
3 changes: 0 additions & 3 deletions lib/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Pdsinterop\PhpSolid;

use Pdsinterop\PhpSolid\PasswordValidator;
use Pdsinterop\PhpSolid\Db;

class User
{
private static function generateTokenCode()
Expand Down
Loading