Class Swift_Transport_Esmtp_Auth_XOAuth2Authenticator
Handles XOAUTH2 authentication.
Example:
$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', 587, 'tls') ->setAuthMode('XOAUTH2') ->setUsername('YOUR_EMAIL_ADDRESS') ->setPassword('YOUR_ACCESS_TOKEN');
- Swift_Transport_Esmtp_Auth_XOAuth2Authenticator implements Swift_Transport_Esmtp_Authenticator
Package: Swift\Transport
Author: xu.li<AthenaLightenedMyPath@gmail.com>
See: https://developers.google.com/google-apps/gmail/xoauth2_protocol
Located at wa-system/vendors/swift/classes/Swift/Transport/Esmtp/Auth/XOAuth2Authenticator.php
Author: xu.li<AthenaLightenedMyPath@gmail.com>
See: https://developers.google.com/google-apps/gmail/xoauth2_protocol
Located at wa-system/vendors/swift/classes/Swift/Transport/Esmtp/Auth/XOAuth2Authenticator.php
public
string
|
|
public
boolean
|
#
authenticate(
Try to authenticate the user with $email and $token. |
protected
|