protected function OAuth::getGrant

5.x OAuth.php protected OAuth::getGrant()

Get a new RefreshToken.

Return value

RefreshToken

1 call to OAuth::getGrant()
OAuth::getToken in inc/PHPMailer/src/OAuth.php
Get a new AccessToken.

File

inc/PHPMailer/src/OAuth.php, line 100

Class

OAuth
OAuth - OAuth2 authentication wrapper class. Uses the oauth2-client package from the League of Extraordinary Packages.

Namespace

PHPMailer\PHPMailer

Code

protected function getGrant() 
 {
  return new RefreshToken();
}