Skip to content

Commit 68efd5e

Browse files
authored
Merge pull request bshaffer#807 from svycka/patch-1
removed unused class attribute
2 parents 08014bc + 728df13 commit 68efd5e

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

src/OAuth2/OpenID/Controller/UserInfoController.php

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,13 @@
1616
*/
1717
class UserInfoController extends ResourceController implements UserInfoControllerInterface
1818
{
19-
private $token;
20-
21-
protected $tokenType;
22-
protected $tokenStorage;
2319
protected $userClaimsStorage;
24-
protected $config;
25-
protected $scopeUtil;
2620

2721
public function __construct(TokenTypeInterface $tokenType, AccessTokenInterface $tokenStorage, UserClaimsInterface $userClaimsStorage, $config = array(), ScopeInterface $scopeUtil = null)
2822
{
29-
$this->tokenType = $tokenType;
30-
$this->tokenStorage = $tokenStorage;
23+
parent::__construct($tokenType, $tokenStorage, $config, $scopeUtil);
24+
3125
$this->userClaimsStorage = $userClaimsStorage;
32-
33-
$this->config = array_merge(array(
34-
'www_realm' => 'Service',
35-
), $config);
36-
37-
if (is_null($scopeUtil)) {
38-
$scopeUtil = new Scope();
39-
}
40-
$this->scopeUtil = $scopeUtil;
4126
}
4227

4328
public function handleUserInfoRequest(RequestInterface $request, ResponseInterface $response)

0 commit comments

Comments
 (0)