mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Applied fixes from StyleCI
This commit is contained in:
@@ -13,7 +13,7 @@ use Slim\App;
|
||||
use Slim\Http\Request;
|
||||
use Slim\Http\Response;
|
||||
|
||||
include __DIR__.'/../vendor/autoload.php';
|
||||
include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// App
|
||||
$app = new App([
|
||||
@@ -27,8 +27,8 @@ $app = new App([
|
||||
$refreshTokenRepository = new RefreshTokenRepository();
|
||||
$authCodeRepository = new AuthCodeRepository();
|
||||
|
||||
$privateKeyPath = 'file://'.__DIR__.'/../private.key';
|
||||
$publicKeyPath = 'file://'.__DIR__.'/../public.key';
|
||||
$privateKeyPath = 'file://' . __DIR__ . '/../private.key';
|
||||
$publicKeyPath = 'file://' . __DIR__ . '/../public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new Server(
|
||||
|
@@ -10,7 +10,7 @@ use Slim\App;
|
||||
use Slim\Http\Request;
|
||||
use Slim\Http\Response;
|
||||
|
||||
include __DIR__.'/../vendor/autoload.php';
|
||||
include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// App
|
||||
$app = new App([
|
||||
@@ -21,8 +21,8 @@ $app = new App([
|
||||
$scopeRepository = new ScopeRepository();
|
||||
$accessTokenRepository = new AccessTokenRepository();
|
||||
|
||||
$privateKeyPath = 'file://'.__DIR__.'/../private.key';
|
||||
$publicKeyPath = 'file://'.__DIR__.'/../public.key';
|
||||
$privateKeyPath = 'file://' . __DIR__ . '/../private.key';
|
||||
$publicKeyPath = 'file://' . __DIR__ . '/../public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new Server(
|
||||
|
@@ -11,7 +11,7 @@ use OAuth2ServerExamples\Repositories\ScopeRepository;
|
||||
use OAuth2ServerExamples\Repositories\UserRepository;
|
||||
use Slim\App;
|
||||
|
||||
include __DIR__.'/../vendor/autoload.php';
|
||||
include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// App
|
||||
$app = new App([
|
||||
@@ -27,8 +27,8 @@ $app = new App([
|
||||
$userRepository = new UserRepository();
|
||||
$refreshTokenRepository = new RefreshTokenRepository();
|
||||
|
||||
$privateKeyPath = 'file://'.__DIR__.'/../private.key';
|
||||
$publicKeyPath = 'file://'.__DIR__.'/../public.key';
|
||||
$privateKeyPath = 'file://' . __DIR__ . '/../private.key';
|
||||
$publicKeyPath = 'file://' . __DIR__ . '/../public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new Server(
|
||||
|
@@ -12,7 +12,7 @@ use Slim\App;
|
||||
use Slim\Http\Request;
|
||||
use Slim\Http\Response;
|
||||
|
||||
include __DIR__.'/../vendor/autoload.php';
|
||||
include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// App
|
||||
$app = new App([
|
||||
@@ -25,8 +25,8 @@ $app = new App([
|
||||
$userRepository = new UserRepository();
|
||||
$refreshTokenRepository = new RefreshTokenRepository();
|
||||
|
||||
$privateKeyPath = 'file://'.__DIR__.'/../private.key';
|
||||
$publicKeyPath = 'file://'.__DIR__.'/../public.key';
|
||||
$privateKeyPath = 'file://' . __DIR__ . '/../private.key';
|
||||
$publicKeyPath = 'file://' . __DIR__ . '/../public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new Server(
|
||||
|
@@ -9,7 +9,7 @@ use Slim\App;
|
||||
use Slim\Http\Request;
|
||||
use Slim\Http\Response;
|
||||
|
||||
include __DIR__.'/../vendor/autoload.php';
|
||||
include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// App
|
||||
$app = new App([
|
||||
@@ -23,8 +23,8 @@ $app = new App([
|
||||
$scopeRepository = new ScopeRepository();
|
||||
$accessTokenRepository = new AccessTokenRepository();
|
||||
|
||||
$privateKeyPath = 'file://'.__DIR__.'/../private.key';
|
||||
$publicKeyPath = 'file://'.__DIR__.'/../public.key';
|
||||
$privateKeyPath = 'file://' . __DIR__ . '/../private.key';
|
||||
$publicKeyPath = 'file://' . __DIR__ . '/../public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new Server(
|
||||
|
@@ -11,7 +11,7 @@ use Slim\App;
|
||||
use Slim\Http\Request;
|
||||
use Slim\Http\Response;
|
||||
|
||||
include __DIR__.'/../vendor/autoload.php';
|
||||
include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// App
|
||||
$app = new App([Server::class => function () {
|
||||
@@ -21,8 +21,8 @@ $app = new App([Server::class => function () {
|
||||
$accessTokenRepository = new AccessTokenRepository();
|
||||
$refreshTokenRepository = new RefreshTokenRepository();
|
||||
|
||||
$privateKeyPath = 'file://'.__DIR__.'/../private.key';
|
||||
$publicKeyPath = 'file://'.__DIR__.'/../public.key';
|
||||
$privateKeyPath = 'file://' . __DIR__ . '/../private.key';
|
||||
$publicKeyPath = 'file://' . __DIR__ . '/../public.key';
|
||||
|
||||
// Setup the authorization server
|
||||
$server = new Server(
|
||||
|
Reference in New Issue
Block a user