@@ -28,6 +28,7 @@ |
||
28 | 28 | * @throws Exception\ProcessAuthorizationException |
29 | 29 | * @throws Exception\RedirectToLoginPageException |
30 | 30 | * @throws Exception\ShowConsentScreenException |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function check(Authorization $authorization, ?UserAccount $userAccount, bool $isFullyAuthenticated): void; |
33 | 34 | } |
@@ -13,12 +13,12 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\OpenIdConnect\UserInfo; |
15 | 15 | |
16 | +use OAuth2Framework\Component\Core\Client\Client; |
|
17 | +use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
|
16 | 18 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\Claim\ClaimManager; |
17 | 19 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\Claim\ClaimSourceManager; |
18 | 20 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\Pairwise\PairwiseSubjectIdentifierAlgorithm; |
19 | 21 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\ScopeSupport\UserInfoScopeSupportManager; |
20 | -use OAuth2Framework\Component\Core\Client\Client; |
|
21 | -use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
|
22 | 22 | |
23 | 23 | class UserInfo |
24 | 24 | { |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface AuthenticationContextClassReferenceSupport extends UserAccountManager |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function getAuthenticationContextClassReferenceFor(UserAccount $user): ?string; |
19 | 22 | } |
@@ -14,16 +14,16 @@ |
||
14 | 14 | namespace OAuth2Framework\Component\AuthorizationEndpoint; |
15 | 15 | |
16 | 16 | use Http\Message\MessageFactory; |
17 | -use OAuth2Framework\Component\AuthorizationEndpoint\ParameterChecker\ParameterCheckerManager; |
|
18 | -use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountCheckerManager; |
|
19 | -use Psr\Http\Server\RequestHandlerInterface; |
|
20 | -use Psr\Http\Server\MiddlewareInterface; |
|
21 | 17 | use OAuth2Framework\Component\AuthorizationEndpoint\ConsentScreen\ExtensionManager; |
22 | 18 | use OAuth2Framework\Component\AuthorizationEndpoint\Exception\OAuth2AuthorizationException; |
19 | +use OAuth2Framework\Component\AuthorizationEndpoint\ParameterChecker\ParameterCheckerManager; |
|
20 | +use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountCheckerManager; |
|
23 | 21 | use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountDiscovery; |
24 | 22 | use OAuth2Framework\Component\Core\Message\OAuth2Message; |
25 | 23 | use Psr\Http\Message\ResponseInterface; |
26 | 24 | use Psr\Http\Message\ServerRequestInterface; |
25 | +use Psr\Http\Server\MiddlewareInterface; |
|
26 | +use Psr\Http\Server\RequestHandlerInterface; |
|
27 | 27 | |
28 | 28 | abstract class AuthorizationEndpoint implements MiddlewareInterface |
29 | 29 | { |