Skip to content

Commit

Permalink
Merge pull request bshaffer#807 from svycka/patch-1
Browse files Browse the repository at this point in the history
removed unused class attribute
  • Loading branch information
bshaffer authored Apr 28, 2017
2 parents 08014bc + 728df13 commit 68efd5e
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions src/OAuth2/OpenID/Controller/UserInfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,13 @@
*/
class UserInfoController extends ResourceController implements UserInfoControllerInterface
{
private $token;

protected $tokenType;
protected $tokenStorage;
protected $userClaimsStorage;
protected $config;
protected $scopeUtil;

public function __construct(TokenTypeInterface $tokenType, AccessTokenInterface $tokenStorage, UserClaimsInterface $userClaimsStorage, $config = array(), ScopeInterface $scopeUtil = null)
{
$this->tokenType = $tokenType;
$this->tokenStorage = $tokenStorage;
parent::__construct($tokenType, $tokenStorage, $config, $scopeUtil);

$this->userClaimsStorage = $userClaimsStorage;

$this->config = array_merge(array(
'www_realm' => 'Service',
), $config);

if (is_null($scopeUtil)) {
$scopeUtil = new Scope();
}
$this->scopeUtil = $scopeUtil;
}

public function handleUserInfoRequest(RequestInterface $request, ResponseInterface $response)
Expand Down

0 comments on commit 68efd5e

Please sign in to comment.