OAuthTokenProvider

Extends

OAuthTokenProvider - OAuth2 token provider interface.

Provides base64 encoded OAuth2 auth strings for SMTP authentication.

see
see
author

Peter Scopes (pdscopes)

author

Marcus Bointon (Synchro/coolbru) phpmailer@synchromedia.co.uk

package

Default

Methods

Generate a base64-encoded OAuth token ensuring that the access token has not expired.

getOauth64(): string

The string to be base 64 encoded should be in the form: "user=\001auth=Bearer \001\001"

Response

string