1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
preparedoauthcredentials.php
См. документацию.
1<?php
2
3namespace Bitrix\Main\Mail\Smtp;
4
8class PreparedOauthCredentials extends \PHPMailer\PHPMailer\OAuth
9{
15 public function __construct(array $options)
16 {
17 parent::__construct($options);
18 $this->oauthToken = $options['token'];
19 }
20
26 public function getOauth64(): string
27 {
28 return base64_encode(
29 'user=' .
30 $this->oauthUserEmail .
31 "\001auth=Bearer " .
32 $this->oauthToken .
33 "\001\001"
34 );
35 }
36}
$options
Определения commerceml2.php:49
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804