Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Mailer] Improve oauth setup#52585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dbu wants to merge2 commits intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromdbu:mailer-oauth
Open
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
Update src/Symfony/Component/Mailer/Transport/Smtp/Auth/XOAuth2Authen…
…ticator.phpCo-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
  • Loading branch information
@dbu@nicolas-grekas
dbu andnicolas-grekas authoredNov 20, 2023
commit09acfdf3e7ef4ba22b35b9041b1c62424e5be459
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,7 +39,7 @@ public function getAuthKeyword(): string
*/
public function authenticate(EsmtpTransport $client): void
{
$token = $this->tokenProvider ? $this->tokenProvider->getToken() : $client->getPassword();
$token = $this->tokenProvider?->getToken() : $client->getPassword();
$client->executeCommand('AUTH XOAUTH2 '.base64_encode('user='.$client->getUsername()."\1auth=Bearer ".$token."\1\1")."\r\n", [235]);
}
}

[8]ページ先頭

©2009-2025 Movatter.jp