OAuthTokenProvider - OAuth2 token provider interface.
Provides base64 encoded OAuth2 auth strings for SMTP authentication.
- see \OAuth
- see \SMTP::authenticate()
- author Peter Scopes (pdscopes)
- author Marcus Bointon (Synchro/coolbru)
Abstract
Interface
Methods |
public
abstract
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:
|