Skip to content

Commit 6737b9d

Browse files
committed
Remove unneeded code
1 parent 8fb9271 commit 6737b9d

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

AbstractBaseProvider.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ abstract class AbstractBaseProvider
3636
*/
3737
protected $redirectUri;
3838

39-
/**
40-
* Nonce/State to protect CSRF
41-
*
42-
* @var string|null
43-
*/
44-
protected $state;
45-
4639
/**
4740
* @var SessionInterface
4841
*/
@@ -176,22 +169,4 @@ public function getConsumer()
176169
{
177170
return $this->consumer;
178171
}
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-
}
197172
}

0 commit comments

Comments
 (0)