PHPMailer\PHPMailer

OAuth::getGrantprotectedWP 1.0

Get a new RefreshToken.

Method of the class: OAuth{}

No Hooks.

Returns

RefreshToken.

Usage

// protected - for code of main (parent) or child class
$result = $this->getGrant();

OAuth::getGrant() code WP 7.0

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