WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::getOAuth() public WP 1.0

Get the OAuth instance.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

OAuth.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->getOAuth();

Code of PHPMailer::getOAuth() WP 5.7.2

<?php
public function getOAuth()
{
    return $this->oauth;
}