mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Removed typecasting of parameters and tidied up appearance
This commit is contained in:
parent
411cab1734
commit
d5c8983293
@ -243,9 +243,14 @@ maintenance of the server.'
|
||||
* @param string $accessToken The access token (default = null)
|
||||
* @return string An authorisation code
|
||||
*/
|
||||
public function newAuthCode(string $clientId, $type = 'user',
|
||||
string $typeId, string $redirectUri, $scopes = array(),
|
||||
string $accessToken = null)
|
||||
public function newAuthCode(
|
||||
$clientId,
|
||||
$type = 'user',
|
||||
$typeId,
|
||||
$redirectUri,
|
||||
$scopes = array(),
|
||||
$accessToken = null
|
||||
)
|
||||
{
|
||||
$authCode = $this->generateCode();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user