Skip to content

Commit

Permalink
Forgot to add OIDC support here.
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermednt committed Nov 5, 2015
1 parent 3807423 commit 0003312
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/PROCERGS/OAuthBundle/Entity/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,15 @@ public function setUpdatedAt($updatedAt = null)
}
return $this;
}

/**
* {@inheritdoc}
*/
public function getAllowedGrantTypes()
{
if ($this->getMetadata()) {
return $this->getMetadata()->getGrantTypes();
}
return parent::getAllowedGrantTypes();
}
}

0 comments on commit 0003312

Please sign in to comment.