ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
OAuth - OAuth2 authentication wrapper class. More...
Public Member Functions | |
__construct ($options) | |
OAuth constructor. More... | |
getOauth64 () | |
Generate a base64-encoded OAuth token. More... | |
Protected Member Functions | |
getGrant () | |
Get a new RefreshToken. More... | |
getToken () | |
Get a new AccessToken. More... | |
Protected Attributes | |
$provider | |
$oauthToken | |
$oauthUserEmail = '' | |
$oauthClientSecret = '' | |
$oauthClientId = '' | |
$oauthRefreshToken = '' | |
OAuth - OAuth2 authentication wrapper class.
Uses the oauth2-client package from the League of Extraordinary Packages.
PHPMailer\PHPMailer\OAuth::__construct | ( | $options | ) |
OAuth constructor.
array | $options | Associative array containing provider , userName , clientSecret , clientId and refreshToken elements |
Definition at line 86 of file OAuth.php.
References PHPMailer\PHPMailer\$options.
|
protected |
Get a new RefreshToken.
Definition at line 100 of file OAuth.php.
Referenced by PHPMailer\PHPMailer\OAuth\getToken().
PHPMailer\PHPMailer\OAuth::getOauth64 | ( | ) |
Generate a base64-encoded OAuth token.
Definition at line 123 of file OAuth.php.
References PHPMailer\PHPMailer\OAuth\getToken().
|
protected |
Get a new AccessToken.
Definition at line 110 of file OAuth.php.
References PHPMailer\PHPMailer\OAuth\getGrant().
Referenced by PHPMailer\PHPMailer\OAuth\getOauth64().
|
protected |
|
protected |