true, 'enforce_state' => false )); $server->addGrantType(new AuthorizationCode($storage)); $server->addGrantType(new ClientCredentials($storage)); $server->addGrantType(new UserCredentials($storage)); $server->addGrantType(new RefreshToken($storage)); return $server; } }