@@ -34,7 +34,7 @@ class IdTokenResponse extends BearerTokenResponse
3434 *
3535 * @var IdTokenRepositoryInterface
3636 */
37- protected $ builder ;
37+ protected $ idTokenRepository ;
3838
3939 /**
4040 * ClaimSetRepositoryInterface
@@ -58,7 +58,7 @@ class IdTokenResponse extends BearerTokenResponse
5858 protected $ extractor ;
5959
6060 public function __construct (
61- IdTokenRepositoryInterface $ builder ,
61+ IdTokenRepositoryInterface $ idTokenRepository ,
6262 ClaimSetRepositoryInterface $ claimRepository ,
6363 EmitterInterface $ emitter ,
6464 ?ClaimExtractorInterface $ extractor = null
@@ -68,7 +68,7 @@ public function __construct(
6868 } else {
6969 $ this ->extractor = $ extractor ;
7070 }
71- $ this ->builder = $ builder ;
71+ $ this ->idTokenRepository = $ idTokenRepository ;
7272 $ this ->claimRepository = $ claimRepository ;
7373 $ this ->setEmitter ($ emitter );
7474 }
@@ -87,7 +87,7 @@ protected function getExtraParams(AccessTokenEntityInterface $accessToken): arra
8787
8888 $ claimSet = $ this ->claimRepository ->getClaimSetEntry ($ accessToken );
8989
90- $ builder = $ this ->builder ->getBuilder ($ accessToken );
90+ $ builder = $ this ->idTokenRepository ->getBuilder ($ accessToken );
9191
9292 if ($ claimSet instanceof ClaimSetInterface) {
9393 foreach ($ this ->extractor ->extract ($ accessToken ->getScopes (), $ claimSet ->getClaims ()) as $ claimName => $ claimValue ) {
0 commit comments