mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-05 19:43:56 +05:30
Removed unnecessary code
This commit is contained in:
parent
a661634194
commit
5b03859467
@ -169,8 +169,6 @@ class Password implements GrantTypeInterface {
|
|||||||
|
|
||||||
// Generate an access token
|
// Generate an access token
|
||||||
$accessToken = SecureKey::make();
|
$accessToken = SecureKey::make();
|
||||||
$refreshToken = ($this->authServer->hasGrantType('refresh_token')) ? SecureKey::make() : null;
|
|
||||||
|
|
||||||
$accessTokenExpires = time() + $this->authServer->getExpiresIn();
|
$accessTokenExpires = time() + $this->authServer->getExpiresIn();
|
||||||
$accessTokenExpiresIn = $this->authServer->getExpiresIn();
|
$accessTokenExpiresIn = $this->authServer->getExpiresIn();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user