Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc)
|
OAuthTokenProvider - OAuth2 token provider interface. More...
Public Member Functions | |
getOauth64 () | |
Generate a base64-encoded OAuth token ensuring that the access token has not expired. | |
OAuthTokenProvider - OAuth2 token provider interface.
Provides base64 encoded OAuth2 auth strings for SMTP authentication.
PHPMailer\PHPMailer\OAuthTokenProvider::getOauth64 | ( | ) |
Generate a base64-encoded OAuth token ensuring that the access token has not expired.
The string to be base 64 encoded should be in the form: "user=<user_email_address>::001auth=Bearer <access_token>\001\001"
string |
Implemented in PHPMailer\PHPMailer\OAuth.