@@ -92,8 +92,8 @@ |
||
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
95 | - * {@inheritdoc} |
|
96 | - */ |
|
95 | + * {@inheritdoc} |
|
96 | + */ |
|
97 | 97 | public function createAuthorizationResponse( |
98 | 98 | ServerRequestInterface $request, |
99 | 99 | Client $client, |
@@ -49,8 +49,7 @@ |
||
49 | 49 | * @class PasswordGrant |
50 | 50 | * @package Platine\OAuth2\Grant |
51 | 51 | */ |
52 | -class PasswordGrant extends BaseGrant implements AuthorizationServerAwareInterface |
|
53 | -{ |
|
52 | +class PasswordGrant extends BaseGrant implements AuthorizationServerAwareInterface { |
|
54 | 53 | public const GRANT_TYPE = 'password'; |
55 | 54 | public const GRANT_RESPONSE_TYPE = ''; |
56 | 55 |
@@ -92,8 +92,8 @@ |
||
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
95 | - * {@inheritdoc} |
|
96 | - */ |
|
95 | + * {@inheritdoc} |
|
96 | + */ |
|
97 | 97 | public function createAuthorizationResponse( |
98 | 98 | ServerRequestInterface $request, |
99 | 99 | Client $client, |
@@ -45,8 +45,7 @@ |
||
45 | 45 | * @class ClientCredentialsGrant |
46 | 46 | * @package Platine\OAuth2\Grant |
47 | 47 | */ |
48 | -class ClientCredentialsGrant extends BaseGrant |
|
49 | -{ |
|
48 | +class ClientCredentialsGrant extends BaseGrant { |
|
50 | 49 | public const GRANT_TYPE = 'client_credentials'; |
51 | 50 | public const GRANT_RESPONSE_TYPE = ''; |
52 | 51 |
@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class TokenOwnerInterface |
39 | 39 | * @package Platine\OAuth2\Entity |
40 | 40 | */ |
41 | -interface UserAuthenticationInterface |
|
42 | -{ |
|
41 | +interface UserAuthenticationInterface { |
|
43 | 42 | /** |
44 | 43 | * Validate the user |
45 | 44 | * this MUST return an object that implement the TokenOwnerInterface, or |