mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Various spacing fixes
This commit is contained in:
parent
3f2f25a6a7
commit
f049997f59
@ -2,11 +2,20 @@
|
|||||||
|
|
||||||
namespace Oauth2\Authentication;
|
namespace Oauth2\Authentication;
|
||||||
|
|
||||||
class OAuthServerClientException extends \Exception {}
|
class OAuthServerClientException extends \Exception
|
||||||
|
{
|
||||||
|
|
||||||
class OAuthServerUserException extends \Exception {}
|
}
|
||||||
|
|
||||||
class OAuthServerException extends \Exception {}
|
class OAuthServerUserException extends \Exception
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class OAuthServerException extends \Exception
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
class Server
|
class Server
|
||||||
{
|
{
|
||||||
@ -259,7 +268,7 @@ class Server
|
|||||||
* @param string $accessToken The access token (default = null)
|
* @param string $accessToken The access token (default = null)
|
||||||
* @return string An authorisation code
|
* @return string An authorisation code
|
||||||
*/
|
*/
|
||||||
private function newAuthCode($clientId, $type = 'user', $typeId, $redirectUri, $scopes = array(), $accessToken = null)
|
private function newAuthCode($clientId, $type, $typeId, $redirectUri, $scopes = array(), $accessToken = null)
|
||||||
{
|
{
|
||||||
$authCode = $this->generateCode();
|
$authCode = $this->generateCode();
|
||||||
|
|
||||||
@ -488,5 +497,4 @@ class Server
|
|||||||
return $redirectUri;
|
return $redirectUri;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user