Skip to content
Snippets Groups Projects
Unverified Commit 061fd2be authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #21224 from ufundo/oauth-systoken-refresh-fix

#2779 - Specify row fields to fetch in Api4 OAuthSysToken.Refresh 
parents 69e04f87 1af0554d
No related branches found
No related tags found
No related merge requests found
......@@ -38,10 +38,15 @@ class Refresh extends BasicBatchAction {
private $syncFields = ['access_token', 'refresh_token', 'expires', 'token_type'];
private $writeFields = ['access_token', 'refresh_token', 'expires', 'token_type', 'raw'];
private $selectFields = ['id', 'client_id', 'access_token', 'refresh_token', 'expires', 'token_type', 'raw'];
private $providers = [];
public function __construct($entityName, $actionName) {
parent::__construct($entityName, $actionName, '*');
parent::__construct($entityName, $actionName);
}
protected function getSelect() {
return $this->selectFields;
}
protected function doTask($row) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment