for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Alexandre
* Date: 12/03/2018
* Time: 21:26
*/
namespace OAuth2\Extensions\OpenID;
use OAuth2\Config;
use OAuth2\Extensions\OpenID\Endpoints\AuthorizationEndpoint;
use OAuth2\Extensions\OpenID\Roles\ResourceOwnerInterface;
use OAuth2\Storages\StorageManager;
class Server extends \OAuth2\Server
{
public function __construct(Config $config, StorageManager $storageManager, ResourceOwnerInterface $resourceOwner)
parent::__construct($config, $storageManager, $resourceOwner);
$this->authorizationEndpoint = new AuthorizationEndpoint(
$this->responseTypeManager,
$this->responseModeManager,
$this->scopePolicyManager,
$resourceOwner,
$storageManager->getClientStorage());
}