public function expireAuthorizationCode($code)
	{
		// auth model
		$authorizationCode = \Components\Developer\Models\Authorizationcode::oneByCode($code);

		// fetch by code
		if (!$authorizationCode->get('id'))
		{
			return false;
		}

		return $authorizationCode->destroy();
	}
public function expireAuthorizationCode($code)
	{
		// auth model
		$authorizationCode = \Components\Developer\Models\Authorizationcode::oneByCode($code);

		// fetch by code
		if (!$authorizationCode->get('id'))
		{
			return false;
		}

		return $authorizationCode->destroy();
	}
public function expireAuthorizationCode ( $ code ) { // auth model $ authorizationCode = \ Components \ Developer \ Models \ Authorizationcode :: oneByCode ( $ code ) ; // fetch by code if ( ! $ authorizationCode -> get ( 'id' ) ) { return false ; } return $ authorizationCode -> destroy ( ) ; }
Remove invalid authorization code

@param   string  $code  Authorization code
@return  void
Remove invalid authorization code