We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fb9271 commit 6737b9dCopy full SHA for 6737b9d
AbstractBaseProvider.php
@@ -36,13 +36,6 @@ abstract class AbstractBaseProvider
36
*/
37
protected $redirectUri;
38
39
- /**
40
- * Nonce/State to protect CSRF
41
- *
42
- * @var string|null
43
- */
44
- protected $state;
45
-
46
/**
47
* @var SessionInterface
48
@@ -176,22 +169,4 @@ public function getConsumer()
176
169
{
177
170
return $this->consumer;
178
171
}
179
180
181
- * @param null|string $state
182
183
- public function setState($state)
184
- {
185
- $this->state = $state;
186
- }
187
188
189
- * @return string
190
191
- public function useState()
192
193
- return $this->state = md5(
194
- mt_rand(0, PHP_INT_MAX)
195
- );
196
197
172
0 commit comments