Skip to content

Commit 1641044

Browse files
committed
BC: Move fields parameter to options[identity.fields]
1 parent 4ec22a8 commit 1641044

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

AbstractBaseProvider.php

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ abstract class AbstractBaseProvider
2222
*/
2323
protected $scope = [];
2424

25-
/**
26-
* @var array
27-
*/
28-
protected $fields = [];
29-
3025
/**
3126
* @var ClientInterface
3227
*/
@@ -62,10 +57,6 @@ public function __construct(ClientInterface $httpClient, SessionInterface $sessi
6257
$this->setScope($parameters['scope']);
6358
}
6459

65-
if (isset($parameters['fields'])) {
66-
$this->setFields($parameters['fields']);
67-
}
68-
6960
if (isset($parameters['redirectUri'])) {
7061
$this->redirectUri = $parameters['redirectUri'];
7162
}
@@ -178,30 +169,6 @@ public function getScopeInline()
178169
return implode(',', $this->scope);
179170
}
180171

181-
/**
182-
* @return array
183-
*/
184-
public function getFields()
185-
{
186-
return $this->fields;
187-
}
188-
189-
/**
190-
* @param array $fields
191-
*/
192-
public function setFields(array $fields)
193-
{
194-
$this->fields = $fields;
195-
}
196-
197-
/**
198-
* @return string
199-
*/
200-
public function getFieldsInline()
201-
{
202-
return implode(',', $this->fields);
203-
}
204-
205172
/**
206173
* @return \SocialConnect\Provider\Consumer
207174
*/

0 commit comments

Comments
 (0)