@@ -15,8 +15,8 @@ |
||
| 15 | 15 | use League\OAuth2\Server\Entities\ClientEntityInterface; |
| 16 | 16 | use League\OAuth2\Server\Entities\DeviceCodeEntityInterface; |
| 17 | 17 | use League\OAuth2\Server\Exception\OAuthServerException; |
| 18 | -use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
|
| 19 | 18 | use League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface; |
| 19 | +use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
|
| 20 | 20 | use League\OAuth2\Server\RequestEvent; |
| 21 | 21 | use League\OAuth2\Server\RequestTypes\DeviceAuthorizationRequest; |
| 22 | 22 | use League\OAuth2\Server\ResponseTypes\DeviceCodeResponse; |
@@ -58,6 +58,9 @@ |
||
| 58 | 58 | return $response; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $payload |
|
| 63 | + */ |
|
| 61 | 64 | public function setPayload($payload) |
| 62 | 65 | { |
| 63 | 66 | $this->payload = $payload; |