Skip to content

Commit 8461589

Browse files
committed
Include issuer_state when building access token from data
1 parent 76c5b22 commit 8461589

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Factories/Entities/AccessTokenEntityFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public function fromState(array $state): AccessTokenEntity
110110

111111
$boundClientId = empty($state['bound_client_id']) ? null : (string)$state['bound_client_id'];
112112
$boundRedirectUri = empty($state['bound_redirect_uri']) ? null : (string)$state['bound_redirect_uri'];
113+
$issuerState = empty($state['issuer_state']) ? null : (string)$state['issuer_state'];
113114

114115
return $this->fromData(
115116
$id,
@@ -124,6 +125,7 @@ public function fromState(array $state): AccessTokenEntity
124125
$authorizationDetails,
125126
$boundClientId,
126127
$boundRedirectUri,
128+
$issuerState,
127129
);
128130
}
129131
}

0 commit comments

Comments
 (0)