From 6b172d4c2761d66103d188ae3470316a5d0ef79b Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 6 Mar 2013 18:01:34 +0000 Subject: [PATCH] Made getGrantType public for use with implicit grant --- src/OAuth2/AuthServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/AuthServer.php b/src/OAuth2/AuthServer.php index d5af3650..97a46274 100644 --- a/src/OAuth2/AuthServer.php +++ b/src/OAuth2/AuthServer.php @@ -396,7 +396,7 @@ class AuthServer * @param string $grantType The grant type identifer * @return class */ - protected function getGrantType($grantType) + public function getGrantType($grantType) { return $this->grantTypes[$grantType]; }