mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 13:39:48 +05:30
$expiresIn now static
This commit is contained in:
parent
fcf57abbb2
commit
47731ce901
@ -20,7 +20,7 @@ class AuthServer
|
||||
*/
|
||||
protected $scopeDelimeter = ',';
|
||||
|
||||
protected $expiresIn = 3600;
|
||||
static protected $expiresIn = 3600;
|
||||
|
||||
protected $responseTypes = array();
|
||||
|
||||
@ -109,7 +109,7 @@ class AuthServer
|
||||
|
||||
public static function getExpiresIn()
|
||||
{
|
||||
return $this->expiresIn;
|
||||
return self::$expiresIn;
|
||||
}
|
||||
|
||||
public function setExpiresIn($expiresIn)
|
||||
|
Loading…
Reference in New Issue
Block a user