add refresh-token grant-type

This commit is contained in:
Thomas Citharel 2016-03-13 17:53:56 +01:00
parent 6ab56c7b2c
commit c9c8345a4a

View file

@ -43,7 +43,7 @@ class DeveloperController extends Controller
$clientForm->handleRequest($request);
if ($clientForm->isValid()) {
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password'));
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password','refresh_token'));
$em->persist($client);
$em->flush();