OAuth - OAuth2 authentication wrapper class.
More...
|
string | $oauthClientId = '' |
| The client ID, generated in the app definition of the service you're connecting to.
|
|
string | $oauthClientSecret = '' |
| The client secret, generated in the app definition of the service you're connecting to.
|
|
string | $oauthRefreshToken = '' |
| The refresh token, used to obtain new AccessTokens.
|
|
AccessToken | $oauthToken |
| The current OAuth access token.
|
|
string | $oauthUserEmail = '' |
| The user's email address, usually used as the login ID and also the from address when sending email.
|
|
AbstractProvider | $provider |
| An instance of the League OAuth Client Provider.
|
|
OAuth - OAuth2 authentication wrapper class.
Uses the oauth2-client package from the League of Extraordinary Packages.
- See also
- http://oauth2-client.thephpleague.com
- Author
- Marcus Bointon (Synchro/coolbru) phpma.nosp@m.iler.nosp@m.@sync.nosp@m.hrom.nosp@m.edia..nosp@m.co.u.nosp@m.k
◆ __construct()
PHPMailer\PHPMailer\OAuth::__construct |
( |
| $options | ) |
|
OAuth constructor.
- Parameters
-
array | $options | Associative array containing provider , userName , clientSecret , clientId and refreshToken elements |
◆ getGrant()
PHPMailer\PHPMailer\OAuth::getGrant |
( |
| ) |
|
|
protected |
Get a new RefreshToken.
- Return values
-
◆ getOauth64()
PHPMailer\PHPMailer\OAuth::getOauth64 |
( |
| ) |
|
◆ getToken()
PHPMailer\PHPMailer\OAuth::getToken |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file:
- lib/phpmailer/src/OAuth.php