fix
This commit is contained in:
parent
f6bc7a52fd
commit
e884a763de
|
@ -9,7 +9,7 @@ use Config\Database;
|
||||||
|
|
||||||
class AuthMiddleware {
|
class AuthMiddleware {
|
||||||
public static function verifyToken() {
|
public static function verifyToken() {
|
||||||
$config = require_once __DIR__ . '/../../config/oauth.php';
|
$config = require_once __DIR__ . '/../../Config/oauth.php';
|
||||||
|
|
||||||
$conn = Database::connect();
|
$conn = Database::connect();
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
namespace OAuth\Repositories;
|
namespace OAuth\Repositories;
|
||||||
|
|
||||||
require_once __DIR__ . '/../../config/database.php';
|
require_once __DIR__ . '/../../Config/Database.php';
|
||||||
|
|
||||||
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
|
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
|
||||||
use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface;
|
use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
namespace OAuth\Repositories;
|
namespace OAuth\Repositories;
|
||||||
|
|
||||||
require_once __DIR__ . '/../../config/database.php';
|
require_once __DIR__ . '/../../Config/Database.php';
|
||||||
|
|
||||||
use League\OAuth2\Server\Entities\RefreshTokenEntityInterface;
|
use League\OAuth2\Server\Entities\RefreshTokenEntityInterface;
|
||||||
use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
|
use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
|
||||||
|
|
Loading…
Reference in New Issue