getClientCredentials($request); $client = $this->getClientEntityOrFail($clientId, $request); if (!$client->isConfidential()) { $this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request)); throw OAuthServerException::invalidClient($request); } // Validate request $this->validateClient($request); $scopes = $this->validateScopes($this->getRequestParameter('scope', $request, $this->defaultScope)); // Finalize the requested scopes $finalizedScopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client); // Issue and persist access token $accessToken = $this->issueAccessToken($accessTokenTTL, $client, null, $finalizedScopes); // Send event to emitter $this->getEmitter()->emit(new RequestAccessTokenEvent(RequestEvent::ACCESS_TOKEN_ISSUED, $request, $accessToken)); // Inject access token into response type $responseType->setAccessToken($accessToken); return $responseType; } /** * {@inheritdoc} */ public function getIdentifier() { return 'client_credentials'; } } __halt_compiler();----SIGNATURE:----ReMPLjChzzvn2ts7hHKHoobrZURPiYUbVPbVYkgwOORhlxiVtAL6BbnYzZU00t6HgmoTIomYrtP1uHf7NzUP8G8lk3SXy2eA2r4Kg+6FeiR/XE1xksbCjTv+DUc10BzRNqWQlEe2hMc1htm1cQ4+p57LMPz5lZtpONinO4RTo9L4x/FkrDg0ojWXGQVF9hkjcp3V7navSM0zEus3tWzogufQ7+8dObMLFNkS9MYLslm04kyWizjjK1qmSYSqtObPh/2oFY/TrguvqVpKaPV+FptQ1YCbGuBWiXNIXFoEJ7pa+PJfmKn/ojX3rBEShy/GjKNFkF4oIL5mKhOezHSN8FiAvpW/toXnL0pN/4n2TF11qdfOUw1QFC768wp+EvG2ySHHIt2tfkQUhs2GOy+gb/aglAhIxs0pCuH2qRMLW0yqRkZI/ji9vBmBJhKWLc22ZGCQ0Cux99gkZSSW7Sz4/o1oWB4a5MEvmTsSNPABumxyGQoEupZUXylHf8EGbBPKIng+uWWnN0tOOWDucwLfi19zpEJXkC6R40HrOfTcGP1e4zL+poQXMnPz2v6qXrF2dHCdt3LKWsBlobw3GHtOn5IYE/tQfkSgoMFhZSyNGwi7eZX+mqpVrPV0Yen7hA3wwl92IJMONruy3nMJmgIuPY8tXJ9/YHZxNgZu88+tayY=----ATTACHMENT:----OTUwMjE2MTYwMDgxMzE3MiAyNzcxMzAyMDY0OTM0NjY0IDI5MjQ4NjcyMTI4MzQ2MDc=