Файловый менеджер - Редактировать - /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/security-http/AccessToken/ChainAccessTokenExtractor.php
Ðазад
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\AccessToken; use Symfony\Component\HttpFoundation\Request; /** * The token extractor retrieves the token from a request. * * @author Florent Morselli <florent.morselli@spomky-labs.com> */ final class ChainAccessTokenExtractor implements AccessTokenExtractorInterface { /** * @param AccessTokenExtractorInterface[] $accessTokenExtractors */ public function __construct( private readonly iterable $accessTokenExtractors, ) { } public function extractAccessToken(Request $request): ?string { foreach ($this->accessTokenExtractors as $extractor) { if ($accessToken = $extractor->extractAccessToken($request)) { return $accessToken; } } return null; } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка