Anal restyle

This commit is contained in:
Alex Bilbie 2013-02-01 15:59:50 +00:00
parent 5abb84eda0
commit e8d43f2087

View File

@ -83,9 +83,7 @@ class AuthCode implements GrantTypeInterface {
// remove the authorisation code, change the stage to 'granted'
$accessToken = SecureKey::make();
$refreshToken = (AuthServer::hasGrantType('refresh_token')) ?
SecureKey::make() :
null;
$refreshToken = (AuthServer::hasGrantType('refresh_token')) ? SecureKey::make() : null;
$accessTokenExpires = time() + AuthServer::getExpiresIn();
$accessTokenExpiresIn = AuthServer::getExpiresIn();