first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
// autoload.php @generated by Composer
if (PHP_VERSION_ID < 50600) {
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
exit(1);
}
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit2908371b091f5e540e360758e6b387f4::getLoader();

View File

@@ -0,0 +1,572 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
*
* $loader = new \Composer\Autoload\ClassLoader();
*
* // register classes with namespaces
* $loader->add('Symfony\Component', __DIR__.'/component');
* $loader->add('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();
*
* // to enable searching the include path (eg. for PEAR packages)
* $loader->setUseIncludePath(true);
*
* In this example, if you try to use a class in the Symfony\Component
* namespace or one of its children (Symfony\Component\Console for instance),
* the autoloader will first look for the class under the component/
* directory, and it will then fallback to the framework/ directory if not
* found before giving up.
*
* This class is loosely based on the Symfony UniversalClassLoader.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see https://www.php-fig.org/psr/psr-0/
* @see https://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
/** @var ?string */
private $vendorDir;
// PSR-4
/**
* @var array[]
* @psalm-var array<string, array<string, int>>
*/
private $prefixLengthsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, array<int, string>>
*/
private $prefixDirsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, string>
*/
private $fallbackDirsPsr4 = array();
// PSR-0
/**
* @var array[]
* @psalm-var array<string, array<string, string[]>>
*/
private $prefixesPsr0 = array();
/**
* @var array[]
* @psalm-var array<string, string>
*/
private $fallbackDirsPsr0 = array();
/** @var bool */
private $useIncludePath = false;
/**
* @var string[]
* @psalm-var array<string, string>
*/
private $classMap = array();
/** @var bool */
private $classMapAuthoritative = false;
/**
* @var bool[]
* @psalm-var array<string, bool>
*/
private $missingClasses = array();
/** @var ?string */
private $apcuPrefix;
/**
* @var self[]
*/
private static $registeredLoaders = array();
/**
* @param ?string $vendorDir
*/
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
}
/**
* @return string[]
*/
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
}
return array();
}
/**
* @return array[]
* @psalm-return array<string, array<int, string>>
*/
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
/**
* @return array[]
* @psalm-return array<string, string>
*/
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
/**
* @return array[]
* @psalm-return array<string, string>
*/
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
/**
* @return string[] Array of classname => path
* @psalm-return array<string, string>
*/
public function getClassMap()
{
return $this->classMap;
}
/**
* @param string[] $classMap Class to filename map
* @psalm-param array<string, string> $classMap
*
* @return void
*/
public function addClassMap(array $classMap)
{
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
} else {
$this->classMap = $classMap;
}
}
/**
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*
* @return void
*/
public function add($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
);
}
return;
}
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*
* @return void
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
// Register directories for a new namespace.
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 base directories
*
* @return void
*/
public function set($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr0 = (array) $paths;
} else {
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
}
}
/**
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*
* @return void
*/
public function setPsr4($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr4 = (array) $paths;
} else {
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
}
}
/**
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*
* @return void
*/
public function setUseIncludePath($useIncludePath)
{
$this->useIncludePath = $useIncludePath;
}
/**
* Can be used to check if the autoloader uses the include path to check
* for classes.
*
* @return bool
*/
public function getUseIncludePath()
{
return $this->useIncludePath;
}
/**
* Turns off searching the prefix and fallback directories for classes
* that have not been registered with the class map.
*
* @param bool $classMapAuthoritative
*
* @return void
*/
public function setClassMapAuthoritative($classMapAuthoritative)
{
$this->classMapAuthoritative = $classMapAuthoritative;
}
/**
* Should class lookup fail if not found in the current class map?
*
* @return bool
*/
public function isClassMapAuthoritative()
{
return $this->classMapAuthoritative;
}
/**
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*
* @return void
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}
/**
* The APCu prefix in use, or null if APCu caching is not enabled.
*
* @return string|null
*/
public function getApcuPrefix()
{
return $this->apcuPrefix;
}
/**
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*
* @return void
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
if (null === $this->vendorDir) {
return;
}
if ($prepend) {
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
} else {
unset(self::$registeredLoaders[$this->vendorDir]);
self::$registeredLoaders[$this->vendorDir] = $this;
}
}
/**
* Unregisters this instance as an autoloader.
*
* @return void
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
if (null !== $this->vendorDir) {
unset(self::$registeredLoaders[$this->vendorDir]);
}
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return true|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
return null;
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
return false;
}
if (null !== $this->apcuPrefix) {
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
if ($hit) {
return $file;
}
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if (false === $file && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
if (null !== $this->apcuPrefix) {
apcu_add($this->apcuPrefix.$class, $file);
}
if (false === $file) {
// Remember that this class does not exist.
$this->missingClasses[$class] = true;
}
return $file;
}
/**
* Returns the currently registered loaders indexed by their corresponding vendor directories.
*
* @return self[]
*/
public static function getRegisteredLoaders()
{
return self::$registeredLoaders;
}
/**
* @param string $class
* @param string $ext
* @return string|false
*/
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {
if (file_exists($file = $dir . $pathEnd)) {
return $file;
}
}
}
}
}
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
// PSR-0 lookup
if (false !== $pos = strrpos($class, '\\')) {
// namespaced class name
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
} else {
// PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
}
if (isset($this->prefixesPsr0[$first])) {
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
}
}
}
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
// PSR-0 include paths.
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
* @private
*/
function includeFile($file)
{
include $file;
}

View File

@@ -0,0 +1,21 @@
Copyright (c) Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,539 @@
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'PostSMTP\\Vendor\\Google\\AccessToken\\Revoke' => $baseDir . '/vendor_prefixed/google/apiclient/src/AccessToken/Revoke.php',
'PostSMTP\\Vendor\\Google\\AccessToken\\Verify' => $baseDir . '/vendor_prefixed/google/apiclient/src/AccessToken/Verify.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\AuthHandlerFactory' => $baseDir . '/vendor_prefixed/google/apiclient/src/AuthHandler/AuthHandlerFactory.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle5AuthHandler' => $baseDir . '/vendor_prefixed/google/apiclient/src/AuthHandler/Guzzle5AuthHandler.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle6AuthHandler' => $baseDir . '/vendor_prefixed/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle7AuthHandler' => $baseDir . '/vendor_prefixed/google/apiclient/src/AuthHandler/Guzzle7AuthHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\AccessToken' => $baseDir . '/vendor_prefixed/google/auth/src/AccessToken.php',
'PostSMTP\\Vendor\\Google\\Auth\\ApplicationDefaultCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/ApplicationDefaultCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\CacheTrait' => $baseDir . '/vendor_prefixed/google/auth/src/CacheTrait.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\InvalidArgumentException' => $baseDir . '/vendor_prefixed/google/auth/src/Cache/InvalidArgumentException.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\Item' => $baseDir . '/vendor_prefixed/google/auth/src/Cache/Item.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\MemoryCacheItemPool' => $baseDir . '/vendor_prefixed/google/auth/src/Cache/MemoryCacheItemPool.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\SysVCacheItemPool' => $baseDir . '/vendor_prefixed/google/auth/src/Cache/SysVCacheItemPool.php',
'PostSMTP\\Vendor\\Google\\Auth\\CredentialsLoader' => $baseDir . '/vendor_prefixed/google/auth/src/CredentialsLoader.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\AppIdentityCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/AppIdentityCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\GCECredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/GCECredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\IAMCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/IAMCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\InsecureCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/InsecureCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\ServiceAccountCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/ServiceAccountCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\UserRefreshCredentials' => $baseDir . '/vendor_prefixed/google/auth/src/Credentials/UserRefreshCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\FetchAuthTokenCache' => $baseDir . '/vendor_prefixed/google/auth/src/FetchAuthTokenCache.php',
'PostSMTP\\Vendor\\Google\\Auth\\FetchAuthTokenInterface' => $baseDir . '/vendor_prefixed/google/auth/src/FetchAuthTokenInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\GCECache' => $baseDir . '/vendor_prefixed/google/auth/src/GCECache.php',
'PostSMTP\\Vendor\\Google\\Auth\\GetQuotaProjectInterface' => $baseDir . '/vendor_prefixed/google/auth/src/GetQuotaProjectInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => $baseDir . '/vendor_prefixed/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => $baseDir . '/vendor_prefixed/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\Guzzle7HttpHandler' => $baseDir . '/vendor_prefixed/google/auth/src/HttpHandler/Guzzle7HttpHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\HttpClientCache' => $baseDir . '/vendor_prefixed/google/auth/src/HttpHandler/HttpClientCache.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\HttpHandlerFactory' => $baseDir . '/vendor_prefixed/google/auth/src/HttpHandler/HttpHandlerFactory.php',
'PostSMTP\\Vendor\\Google\\Auth\\Iam' => $baseDir . '/vendor_prefixed/google/auth/src/Iam.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\AuthTokenMiddleware' => $baseDir . '/vendor_prefixed/google/auth/src/Middleware/AuthTokenMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\ProxyAuthTokenMiddleware' => $baseDir . '/vendor_prefixed/google/auth/src/Middleware/ProxyAuthTokenMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => $baseDir . '/vendor_prefixed/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\SimpleMiddleware' => $baseDir . '/vendor_prefixed/google/auth/src/Middleware/SimpleMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\OAuth2' => $baseDir . '/vendor_prefixed/google/auth/src/OAuth2.php',
'PostSMTP\\Vendor\\Google\\Auth\\ProjectIdProviderInterface' => $baseDir . '/vendor_prefixed/google/auth/src/ProjectIdProviderInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\ServiceAccountSignerTrait' => $baseDir . '/vendor_prefixed/google/auth/src/ServiceAccountSignerTrait.php',
'PostSMTP\\Vendor\\Google\\Auth\\SignBlobInterface' => $baseDir . '/vendor_prefixed/google/auth/src/SignBlobInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\UpdateMetadataInterface' => $baseDir . '/vendor_prefixed/google/auth/src/UpdateMetadataInterface.php',
'PostSMTP\\Vendor\\Google\\Client' => $baseDir . '/vendor_prefixed/google/apiclient/src/Client.php',
'PostSMTP\\Vendor\\Google\\Collection' => $baseDir . '/vendor_prefixed/google/apiclient/src/Collection.php',
'PostSMTP\\Vendor\\Google\\Exception' => $baseDir . '/vendor_prefixed/google/apiclient/src/Exception.php',
'PostSMTP\\Vendor\\Google\\Http\\Batch' => $baseDir . '/vendor_prefixed/google/apiclient/src/Http/Batch.php',
'PostSMTP\\Vendor\\Google\\Http\\MediaFileUpload' => $baseDir . '/vendor_prefixed/google/apiclient/src/Http/MediaFileUpload.php',
'PostSMTP\\Vendor\\Google\\Http\\REST' => $baseDir . '/vendor_prefixed/google/apiclient/src/Http/REST.php',
'PostSMTP\\Vendor\\Google\\Model' => $baseDir . '/vendor_prefixed/google/apiclient/src/Model.php',
'PostSMTP\\Vendor\\Google\\Service' => $baseDir . '/vendor_prefixed/google/apiclient/src/Service.php',
'PostSMTP\\Vendor\\Google\\Service\\Exception' => $baseDir . '/vendor_prefixed/google/apiclient/src/Service/Exception.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\AutoForwarding' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/AutoForwarding.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\BatchDeleteMessagesRequest' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/BatchDeleteMessagesRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\BatchModifyMessagesRequest' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/BatchModifyMessagesRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Delegate' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Delegate.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Draft' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Draft.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Filter' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Filter.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\FilterAction' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/FilterAction.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\FilterCriteria' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/FilterCriteria.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ForwardingAddress' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ForwardingAddress.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\History' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/History.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryLabelAdded' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryLabelAdded.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryLabelRemoved' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryLabelRemoved.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryMessageAdded' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryMessageAdded.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryMessageDeleted' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryMessageDeleted.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ImapSettings' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ImapSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Label' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Label.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\LabelColor' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/LabelColor.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\LanguageSettings' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/LanguageSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListDelegatesResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListDelegatesResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListDraftsResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListDraftsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListFiltersResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListFiltersResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListForwardingAddressesResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListForwardingAddressesResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListHistoryResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListHistoryResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListLabelsResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListLabelsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListMessagesResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListMessagesResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListSendAsResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListSendAsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListSmimeInfoResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListSmimeInfoResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListThreadsResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListThreadsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Message' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Message.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\MessagePart' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePart.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\MessagePartBody' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePartBody.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\MessagePartHeader' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePartHeader.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ModifyMessageRequest' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ModifyMessageRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ModifyThreadRequest' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/ModifyThreadRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\PopSettings' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/PopSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Profile' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Profile.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\Users' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/Users.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersDrafts' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersDrafts.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersHistory' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersHistory.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersLabels' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersLabels.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersMessages' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersMessages.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersMessagesAttachments' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersMessagesAttachments.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettings' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsDelegates' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsDelegates.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsFilters' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsFilters.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsForwardingAddresses' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsForwardingAddresses.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsSendAs' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsSendAs.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsSendAsSmimeInfo' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersThreads' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersThreads.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\SendAs' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/SendAs.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\SmimeInfo' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/SmimeInfo.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\SmtpMsa' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/SmtpMsa.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Thread' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/Thread.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\VacationSettings' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/VacationSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\WatchRequest' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/WatchRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\WatchResponse' => $baseDir . '/vendor_prefixed/google/apiclient-services/src/Gmail/WatchResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Resource' => $baseDir . '/vendor_prefixed/google/apiclient/src/Service/Resource.php',
'PostSMTP\\Vendor\\Google\\Task\\Composer' => $baseDir . '/vendor_prefixed/google/apiclient/src/Task/Composer.php',
'PostSMTP\\Vendor\\Google\\Task\\Exception' => $baseDir . '/vendor_prefixed/google/apiclient/src/Task/Exception.php',
'PostSMTP\\Vendor\\Google\\Task\\Retryable' => $baseDir . '/vendor_prefixed/google/apiclient/src/Task/Retryable.php',
'PostSMTP\\Vendor\\Google\\Task\\Runner' => $baseDir . '/vendor_prefixed/google/apiclient/src/Task/Runner.php',
'PostSMTP\\Vendor\\Google\\Utils\\UriTemplate' => $baseDir . '/vendor_prefixed/google/apiclient/src/Utils/UriTemplate.php',
'PostSMTP\\Vendor\\Google_AccessToken_Revoke' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AccessToken_Verify' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_AuthHandlerFactory' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_Guzzle5AuthHandler' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_Guzzle6AuthHandler' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_Guzzle7AuthHandler' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Client' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Collection' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Exception' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Http_Batch' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Http_MediaFileUpload' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Http_REST' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Model' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Service' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Service_Exception' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Service_Resource' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Composer' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Exception' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Retryable' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Runner' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Utils_UriTemplate' => $baseDir . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Client' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Client.php',
'PostSMTP\\Vendor\\GuzzleHttp\\ClientInterface' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/ClientInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\CookieJar' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/CookieJar.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\CookieJarInterface' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\FileCookieJar' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\SessionCookieJar' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\SetCookie' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\BadResponseException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/BadResponseException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\ClientException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ClientException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\ConnectException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\GuzzleException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/GuzzleException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\InvalidArgumentException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\RequestException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/RequestException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\SeekException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/SeekException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\ServerException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ServerException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\TooManyRedirectsException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\TransferException' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/TransferException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\HandlerStack' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/HandlerStack.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlFactory' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlFactory.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlFactoryInterface' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlHandler' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlMultiHandler' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\EasyHandle' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/EasyHandle.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\MockHandler' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/MockHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\Proxy' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\StreamHandler' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\MessageFormatter' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/MessageFormatter.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Middleware' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Middleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Pool' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Pool.php',
'PostSMTP\\Vendor\\GuzzleHttp\\PrepareBodyMiddleware' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\AggregateException' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/AggregateException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\CancellationException' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/CancellationException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Coroutine' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/Coroutine.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Create' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/Create.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Each' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/Each.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\EachPromise' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/EachPromise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\FulfilledPromise' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/FulfilledPromise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Is' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/Is.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Promise' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/Promise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\PromiseInterface' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/PromiseInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\PromisorInterface' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/PromisorInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\RejectedPromise' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/RejectedPromise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\RejectionException' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/RejectionException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\TaskQueue' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/TaskQueue.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\TaskQueueInterface' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/TaskQueueInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Utils' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/Utils.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\AppendStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/AppendStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\BufferStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/BufferStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\CachingStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/CachingStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\DroppingStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/DroppingStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\FnStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/FnStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Header' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Header.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\InflateStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/InflateStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\LazyOpenStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/LazyOpenStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\LimitStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/LimitStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Message' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Message.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\MessageTrait' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/MessageTrait.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\MimeType' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/MimeType.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\MultipartStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/MultipartStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\NoSeekStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/NoSeekStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\PumpStream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/PumpStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Query' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Query.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Request' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Request.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Response' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Response.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Rfc7230' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Rfc7230.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\ServerRequest' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/ServerRequest.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Stream' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Stream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\StreamDecoratorTrait' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/StreamDecoratorTrait.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\StreamWrapper' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/StreamWrapper.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UploadedFile' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/UploadedFile.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Uri' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Uri.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UriComparator' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/UriComparator.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UriNormalizer' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/UriNormalizer.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UriResolver' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/UriResolver.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Utils' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/Utils.php',
'PostSMTP\\Vendor\\GuzzleHttp\\RedirectMiddleware' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/RedirectMiddleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\RequestOptions' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/RequestOptions.php',
'PostSMTP\\Vendor\\GuzzleHttp\\RetryMiddleware' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/RetryMiddleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\TransferStats' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/TransferStats.php',
'PostSMTP\\Vendor\\GuzzleHttp\\UriTemplate' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/UriTemplate.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Utils' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/Utils.php',
'PostSMTP\\Vendor\\Monolog\\ErrorHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/ErrorHandler.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\ChromePHPFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\ElasticaFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\FlowdockFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\FluentdFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\FormatterInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\GelfMessageFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\HtmlFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\JsonFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\LineFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LineFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\LogglyFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\LogstashFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\MongoDBFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\NormalizerFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\ScalarFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\WildfireFormatter' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AbstractHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AbstractProcessingHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AbstractSyslogHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AmqpHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AmqpHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\BrowserConsoleHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\BufferHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/BufferHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ChromePHPHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\CouchDBHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\CubeHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/CubeHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\Curl\\Util' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/Curl/Util.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\DeduplicationHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\DoctrineCouchDBHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\DynamoDbHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ElasticSearchHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ErrorLogHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FilterHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FilterHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossedHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossed\\ChannelLevelActivationStrategy' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossed\\ErrorLevelActivationStrategy' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FirePHPHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FleepHookHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FlowdockHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FormattableHandlerInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FormattableHandlerInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FormattableHandlerTrait' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FormattableHandlerTrait.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\GelfHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/GelfHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\GroupHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/GroupHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\HandlerInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/HandlerInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\HandlerWrapper' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\HipChatHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/HipChatHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\IFTTTHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\InsightOpsHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\LogEntriesHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\LogglyHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/LogglyHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MailHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MailHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MandrillHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MandrillHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MissingExtensionException' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MongoDBHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\NativeMailerHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\NewRelicHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\NullHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NullHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\PHPConsoleHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ProcessableHandlerInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ProcessableHandlerInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ProcessableHandlerTrait' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ProcessableHandlerTrait.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\PsrHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/PsrHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\PushoverHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/PushoverHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RavenHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RavenHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RedisHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RedisHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RollbarHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RollbarHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RotatingFileHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SamplingHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SamplingHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SlackHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SlackWebhookHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\Slack\\SlackRecord' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SlackbotHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SocketHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SocketHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\StreamHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/StreamHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SwiftMailerHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SyslogHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SyslogHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SyslogUdpHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SyslogUdp\\UdpSocket' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\TestHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/TestHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\WhatFailureGroupHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ZendMonitorHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php',
'PostSMTP\\Vendor\\Monolog\\Logger' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\GitProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/GitProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\IntrospectionProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MemoryPeakUsageProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MemoryProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MemoryUsageProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MercurialProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\ProcessIdProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\ProcessorInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\PsrLogMessageProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\TagProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/TagProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\UidProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/UidProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\WebProcessor' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/WebProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Registry' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Registry.php',
'PostSMTP\\Vendor\\Monolog\\ResettableInterface' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/ResettableInterface.php',
'PostSMTP\\Vendor\\Monolog\\SignalHandler' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/SignalHandler.php',
'PostSMTP\\Vendor\\Monolog\\Utils' => $baseDir . '/vendor_prefixed/monolog/monolog/src/Monolog/Utils.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base32' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base32.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base32Hex' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base32Hex.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64DotSlash' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64DotSlash.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64DotSlashOrdered' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64DotSlashOrdered.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64UrlSafe' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64UrlSafe.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Binary' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Binary.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\EncoderInterface' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/EncoderInterface.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Encoding' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Encoding.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Hex' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/Hex.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\RFC4648' => $baseDir . '/vendor_prefixed/paragonie/constant_time_encoding/src/RFC4648.php',
'PostSMTP\\Vendor\\Psr\\Cache\\CacheException' => $baseDir . '/vendor_prefixed/psr/cache/src/CacheException.php',
'PostSMTP\\Vendor\\Psr\\Cache\\CacheItemInterface' => $baseDir . '/vendor_prefixed/psr/cache/src/CacheItemInterface.php',
'PostSMTP\\Vendor\\Psr\\Cache\\CacheItemPoolInterface' => $baseDir . '/vendor_prefixed/psr/cache/src/CacheItemPoolInterface.php',
'PostSMTP\\Vendor\\Psr\\Cache\\InvalidArgumentException' => $baseDir . '/vendor_prefixed/psr/cache/src/InvalidArgumentException.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\MessageInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/MessageInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\RequestInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/RequestInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\ResponseInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/ResponseInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\ServerRequestInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/ServerRequestInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\StreamInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/StreamInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\UploadedFileInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/UploadedFileInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\UriInterface' => $baseDir . '/vendor_prefixed/psr/http-message/src/UriInterface.php',
'PostSMTP\\Vendor\\Psr\\Log\\AbstractLogger' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/AbstractLogger.php',
'PostSMTP\\Vendor\\Psr\\Log\\InvalidArgumentException' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/InvalidArgumentException.php',
'PostSMTP\\Vendor\\Psr\\Log\\LogLevel' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/LogLevel.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerAwareInterface' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/LoggerAwareInterface.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerAwareTrait' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/LoggerAwareTrait.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerInterface' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/LoggerInterface.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerTrait' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/LoggerTrait.php',
'PostSMTP\\Vendor\\Psr\\Log\\NullLogger' => $baseDir . '/vendor_prefixed/psr/log/Psr/Log/NullLogger.php',
'PostSMTP\\Vendor\\Symfony\\Polyfill\\Intl\\Idn\\Idn' => $baseDir . '/vendor_prefixed/symfony/polyfill-intl-idn/Idn.php',
'PostSMTP\\Vendor\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $baseDir . '/vendor_prefixed/symfony/polyfill-mbstring/Mbstring.php',
'PostSMTP\\Vendor\\Symfony\\Polyfill\\Php72\\Php72' => $baseDir . '/vendor_prefixed/symfony/polyfill-php72/Php72.php',
'PostSMTP\\Vendor\\phpseclib3\\Common\\Functions\\Strings' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Common/Functions/Strings.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\AES' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/AES.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\AsymmetricKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\BlockCipher' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/BlockCipher.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\JWK' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/JWK.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\OpenSSH' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS8' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PuTTY' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Signature\\Raw' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Signature/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\PrivateKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\PublicKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\StreamCipher' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/StreamCipher.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\SymmetricKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/SymmetricKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Traits\\Fingerprint' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/Fingerprint.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Traits\\PasswordProtected' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/PasswordProtected.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\Formats\\Keys\\PKCS1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\Formats\\Keys\\PKCS8' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\Parameters' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/Parameters.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\PrivateKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\PublicKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\OpenSSH' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\PKCS1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\PKCS8' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\PuTTY' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\Raw' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\XML' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/XML.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Signature\\ASN1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ASN1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Signature\\Raw' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Signature\\SSH2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/SSH2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Parameters' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Parameters.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\PrivateKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\PublicKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Base' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Base.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Binary' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Binary.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\KoblitzPrime' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/KoblitzPrime.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Montgomery' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Montgomery.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Prime' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Prime.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\TwistedEdwards' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/TwistedEdwards.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Curve25519' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Curve25519.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Curve448' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Curve448.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Ed25519' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Ed25519.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Ed448' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Ed448.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP160r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP160r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP160t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP160t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP192r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP192r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP192t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP192t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP224r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP224r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP224t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP224t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP256r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP256r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP256t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP256t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP320r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP320r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP320t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP320t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP384r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP384r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP384t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP384t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP512r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP512r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP512t1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP512t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistb233' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistb233.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistb409' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistb409.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk163' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk163.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk233' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk233.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk283' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk283.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk409' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk409.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp192' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp192.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp224' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp224.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp256' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp256.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp384' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp384.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp521' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp521.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistt571' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistt571.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime192v1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime192v2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime192v3' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v3.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime239v1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime239v2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime239v3' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v3.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime256v1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime256v1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp112r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp112r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp112r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp112r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp128r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp128r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp160k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp160r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp160r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp192k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp192k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp192r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp192r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp224k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp224k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp224r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp224r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp256k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp256k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp256r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp256r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp384r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp384r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp521r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp521r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect113r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect113r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect113r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect113r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect131r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect131r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect131r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect131r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect163k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect163r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect163r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect193r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect193r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect193r2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect193r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect233k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect233k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect233r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect233r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect239k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect239k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect283k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect283k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect283r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect283r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect409k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect409k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect409r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect409r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect571k1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect571k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect571r1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect571r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\Common' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/Common.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\JWK' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/JWK.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\MontgomeryPrivate' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/MontgomeryPrivate.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\MontgomeryPublic' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/MontgomeryPublic.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\OpenSSH' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\PKCS1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\PKCS8' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\PuTTY' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\XML' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/XML.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\libsodium' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/libsodium.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Signature\\ASN1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ASN1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Signature\\Raw' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Signature\\SSH2' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/SSH2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Parameters' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\PrivateKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\PublicKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\JWK' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/JWK.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\MSBLOB' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/MSBLOB.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\OpenSSH' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PKCS1' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PKCS8' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PSS' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PSS.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PuTTY' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\Raw' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\XML' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/XML.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\PrivateKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\PublicKey' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Random' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Random.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Rijndael' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\BadConfigurationException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/BadConfigurationException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\BadDecryptionException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/BadDecryptionException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\BadModeException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/BadModeException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\ConnectionClosedException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/ConnectionClosedException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\FileNotFoundException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/FileNotFoundException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\InconsistentSetupException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/InconsistentSetupException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\InsufficientSetupException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/InsufficientSetupException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\NoKeyLoadedException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/NoKeyLoadedException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\NoSupportedAlgorithmsException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/NoSupportedAlgorithmsException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnableToConnectException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnableToConnectException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedAlgorithmException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedAlgorithmException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedCurveException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedCurveException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedFormatException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedFormatException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedOperationException' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedOperationException.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Base' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Base.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\BuiltIn' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/BuiltIn.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\DefaultEngine' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/DefaultEngine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\OpenSSL' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/OpenSSL.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Reductions\\Barrett' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/Barrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Reductions\\EvalBarrett' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/EvalBarrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\Engine' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/Engine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\GMP' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\GMP\\DefaultEngine' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP/DefaultEngine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\OpenSSL' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/OpenSSL.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP32' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP32.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP64' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP64.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Base' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Base.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\DefaultEngine' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/DefaultEngine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Montgomery' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Montgomery.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\OpenSSL' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/OpenSSL.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\Barrett' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Barrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\Classic' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Classic.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\EvalBarrett' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\Montgomery' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Montgomery.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\MontgomeryMult' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/MontgomeryMult.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\PowerOfTwo' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/PowerOfTwo.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BinaryField' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BinaryField.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BinaryField\\Integer' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BinaryField/Integer.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\Common\\FiniteField' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/Common/FiniteField.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\Common\\FiniteField\\Integer' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/Common/FiniteField/Integer.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\PrimeField' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/PrimeField.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\PrimeField\\Integer' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/PrimeField/Integer.php',
);

View File

@@ -0,0 +1,16 @@
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'840b8504e40a63aaa679ca25c0b2a1cc' => $baseDir . '/vendor_prefixed/guzzlehttp/psr7/src/functions_include.php',
'e3e111437f37e10e6bcab5eacc08fb6f' => $baseDir . '/vendor_prefixed/guzzlehttp/promises/src/functions_include.php',
'2bb094e40611cb5eccea789f32aff634' => $baseDir . '/vendor_prefixed/symfony/polyfill-mbstring/bootstrap.php',
'1fd84176824b5a44e7bd8da85eca7e14' => $baseDir . '/vendor_prefixed/symfony/polyfill-php72/bootstrap.php',
'606299e0d90ec13f1e6b53164b8387df' => $baseDir . '/vendor_prefixed/symfony/polyfill-intl-idn/bootstrap.php',
'6fe0d6ea1deb6acc74bbe64573a83e1c' => $baseDir . '/vendor_prefixed/guzzlehttp/guzzle/src/functions_include.php',
'3ed0dcebed83aa26dfe4c549d730cf2e' => $baseDir . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/bootstrap.php',
);

View File

@@ -0,0 +1,9 @@
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
);

View File

@@ -0,0 +1,10 @@
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'PostSMTP\\' => array($baseDir . '/src'),
);

View File

@@ -0,0 +1,57 @@
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit2908371b091f5e540e360758e6b387f4
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInit2908371b091f5e540e360758e6b387f4', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit2908371b091f5e540e360758e6b387f4', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit2908371b091f5e540e360758e6b387f4::getInitializer($loader));
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit2908371b091f5e540e360758e6b387f4::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire2908371b091f5e540e360758e6b387f4($fileIdentifier, $file);
}
return $loader;
}
}
/**
* @param string $fileIdentifier
* @param string $file
* @return void
*/
function composerRequire2908371b091f5e540e360758e6b387f4($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
}

View File

@@ -0,0 +1,575 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit2908371b091f5e540e360758e6b387f4
{
public static $files = array (
'840b8504e40a63aaa679ca25c0b2a1cc' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/functions_include.php',
'e3e111437f37e10e6bcab5eacc08fb6f' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/functions_include.php',
'2bb094e40611cb5eccea789f32aff634' => __DIR__ . '/../..' . '/vendor_prefixed/symfony/polyfill-mbstring/bootstrap.php',
'1fd84176824b5a44e7bd8da85eca7e14' => __DIR__ . '/../..' . '/vendor_prefixed/symfony/polyfill-php72/bootstrap.php',
'606299e0d90ec13f1e6b53164b8387df' => __DIR__ . '/../..' . '/vendor_prefixed/symfony/polyfill-intl-idn/bootstrap.php',
'6fe0d6ea1deb6acc74bbe64573a83e1c' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/functions_include.php',
'3ed0dcebed83aa26dfe4c549d730cf2e' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/bootstrap.php',
);
public static $prefixLengthsPsr4 = array (
'P' =>
array (
'PostSMTP\\' => 9,
),
);
public static $prefixDirsPsr4 = array (
'PostSMTP\\' =>
array (
0 => __DIR__ . '/../..' . '/src',
),
);
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'PostSMTP\\Vendor\\Google\\AccessToken\\Revoke' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/AccessToken/Revoke.php',
'PostSMTP\\Vendor\\Google\\AccessToken\\Verify' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/AccessToken/Verify.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\AuthHandlerFactory' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/AuthHandler/AuthHandlerFactory.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle5AuthHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/AuthHandler/Guzzle5AuthHandler.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle6AuthHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php',
'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle7AuthHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/AuthHandler/Guzzle7AuthHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\AccessToken' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/AccessToken.php',
'PostSMTP\\Vendor\\Google\\Auth\\ApplicationDefaultCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/ApplicationDefaultCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\CacheTrait' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/CacheTrait.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\InvalidArgumentException' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Cache/InvalidArgumentException.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\Item' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Cache/Item.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\MemoryCacheItemPool' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Cache/MemoryCacheItemPool.php',
'PostSMTP\\Vendor\\Google\\Auth\\Cache\\SysVCacheItemPool' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Cache/SysVCacheItemPool.php',
'PostSMTP\\Vendor\\Google\\Auth\\CredentialsLoader' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/CredentialsLoader.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\AppIdentityCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/AppIdentityCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\GCECredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/GCECredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\IAMCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/IAMCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\InsecureCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/InsecureCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\ServiceAccountCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/ServiceAccountCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\Credentials\\UserRefreshCredentials' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Credentials/UserRefreshCredentials.php',
'PostSMTP\\Vendor\\Google\\Auth\\FetchAuthTokenCache' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/FetchAuthTokenCache.php',
'PostSMTP\\Vendor\\Google\\Auth\\FetchAuthTokenInterface' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/FetchAuthTokenInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\GCECache' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/GCECache.php',
'PostSMTP\\Vendor\\Google\\Auth\\GetQuotaProjectInterface' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/GetQuotaProjectInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\Guzzle7HttpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/HttpHandler/Guzzle7HttpHandler.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\HttpClientCache' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/HttpHandler/HttpClientCache.php',
'PostSMTP\\Vendor\\Google\\Auth\\HttpHandler\\HttpHandlerFactory' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/HttpHandler/HttpHandlerFactory.php',
'PostSMTP\\Vendor\\Google\\Auth\\Iam' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Iam.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\AuthTokenMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Middleware/AuthTokenMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\ProxyAuthTokenMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Middleware/ProxyAuthTokenMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\Middleware\\SimpleMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/Middleware/SimpleMiddleware.php',
'PostSMTP\\Vendor\\Google\\Auth\\OAuth2' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/OAuth2.php',
'PostSMTP\\Vendor\\Google\\Auth\\ProjectIdProviderInterface' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/ProjectIdProviderInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\ServiceAccountSignerTrait' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/ServiceAccountSignerTrait.php',
'PostSMTP\\Vendor\\Google\\Auth\\SignBlobInterface' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/SignBlobInterface.php',
'PostSMTP\\Vendor\\Google\\Auth\\UpdateMetadataInterface' => __DIR__ . '/../..' . '/vendor_prefixed/google/auth/src/UpdateMetadataInterface.php',
'PostSMTP\\Vendor\\Google\\Client' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Client.php',
'PostSMTP\\Vendor\\Google\\Collection' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Collection.php',
'PostSMTP\\Vendor\\Google\\Exception' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Exception.php',
'PostSMTP\\Vendor\\Google\\Http\\Batch' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Http/Batch.php',
'PostSMTP\\Vendor\\Google\\Http\\MediaFileUpload' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Http/MediaFileUpload.php',
'PostSMTP\\Vendor\\Google\\Http\\REST' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Http/REST.php',
'PostSMTP\\Vendor\\Google\\Model' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Model.php',
'PostSMTP\\Vendor\\Google\\Service' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Service.php',
'PostSMTP\\Vendor\\Google\\Service\\Exception' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Service/Exception.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\AutoForwarding' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/AutoForwarding.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\BatchDeleteMessagesRequest' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/BatchDeleteMessagesRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\BatchModifyMessagesRequest' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/BatchModifyMessagesRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Delegate' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Delegate.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Draft' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Draft.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Filter' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Filter.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\FilterAction' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/FilterAction.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\FilterCriteria' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/FilterCriteria.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ForwardingAddress' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ForwardingAddress.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\History' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/History.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryLabelAdded' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryLabelAdded.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryLabelRemoved' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryLabelRemoved.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryMessageAdded' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryMessageAdded.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\HistoryMessageDeleted' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/HistoryMessageDeleted.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ImapSettings' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ImapSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Label' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Label.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\LabelColor' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/LabelColor.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\LanguageSettings' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/LanguageSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListDelegatesResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListDelegatesResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListDraftsResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListDraftsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListFiltersResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListFiltersResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListForwardingAddressesResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListForwardingAddressesResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListHistoryResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListHistoryResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListLabelsResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListLabelsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListMessagesResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListMessagesResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListSendAsResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListSendAsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListSmimeInfoResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListSmimeInfoResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ListThreadsResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ListThreadsResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Message' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Message.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\MessagePart' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePart.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\MessagePartBody' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePartBody.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\MessagePartHeader' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePartHeader.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ModifyMessageRequest' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ModifyMessageRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\ModifyThreadRequest' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/ModifyThreadRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\PopSettings' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/PopSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Profile' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Profile.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\Users' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/Users.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersDrafts' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersDrafts.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersHistory' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersHistory.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersLabels' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersLabels.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersMessages' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersMessages.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersMessagesAttachments' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersMessagesAttachments.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettings' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsDelegates' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsDelegates.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsFilters' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsFilters.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsForwardingAddresses' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsForwardingAddresses.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsSendAs' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsSendAs.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersSettingsSendAsSmimeInfo' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Resource\\UsersThreads' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Resource/UsersThreads.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\SendAs' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/SendAs.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\SmimeInfo' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/SmimeInfo.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\SmtpMsa' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/SmtpMsa.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\Thread' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/Thread.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\VacationSettings' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/VacationSettings.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\WatchRequest' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/WatchRequest.php',
'PostSMTP\\Vendor\\Google\\Service\\Gmail\\WatchResponse' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient-services/src/Gmail/WatchResponse.php',
'PostSMTP\\Vendor\\Google\\Service\\Resource' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Service/Resource.php',
'PostSMTP\\Vendor\\Google\\Task\\Composer' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Task/Composer.php',
'PostSMTP\\Vendor\\Google\\Task\\Exception' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Task/Exception.php',
'PostSMTP\\Vendor\\Google\\Task\\Retryable' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Task/Retryable.php',
'PostSMTP\\Vendor\\Google\\Task\\Runner' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Task/Runner.php',
'PostSMTP\\Vendor\\Google\\Utils\\UriTemplate' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/Utils/UriTemplate.php',
'PostSMTP\\Vendor\\Google_AccessToken_Revoke' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AccessToken_Verify' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_AuthHandlerFactory' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_Guzzle5AuthHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_Guzzle6AuthHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_AuthHandler_Guzzle7AuthHandler' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Client' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Collection' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Exception' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Http_Batch' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Http_MediaFileUpload' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Http_REST' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Model' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Service' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Service_Exception' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Service_Resource' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Composer' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Exception' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Retryable' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Task_Runner' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\Google_Utils_UriTemplate' => __DIR__ . '/../..' . '/vendor_prefixed/google/apiclient/src/aliases.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Client' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Client.php',
'PostSMTP\\Vendor\\GuzzleHttp\\ClientInterface' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/ClientInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\CookieJar' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/CookieJar.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\CookieJarInterface' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\FileCookieJar' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\SessionCookieJar' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Cookie\\SetCookie' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\BadResponseException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/BadResponseException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\ClientException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ClientException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\ConnectException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ConnectException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\GuzzleException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/GuzzleException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\InvalidArgumentException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\RequestException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/RequestException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\SeekException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/SeekException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\ServerException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/ServerException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\TooManyRedirectsException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Exception\\TransferException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Exception/TransferException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\HandlerStack' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/HandlerStack.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlFactory' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlFactory.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlFactoryInterface' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlHandler' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\CurlMultiHandler' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\EasyHandle' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/EasyHandle.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\MockHandler' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/MockHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\Proxy' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Handler\\StreamHandler' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php',
'PostSMTP\\Vendor\\GuzzleHttp\\MessageFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/MessageFormatter.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Middleware' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Middleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Pool' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Pool.php',
'PostSMTP\\Vendor\\GuzzleHttp\\PrepareBodyMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\AggregateException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/AggregateException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\CancellationException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/CancellationException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Coroutine' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/Coroutine.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Create' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/Create.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Each' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/Each.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\EachPromise' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/EachPromise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\FulfilledPromise' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/FulfilledPromise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Is' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/Is.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Promise' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/Promise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\PromiseInterface' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/PromiseInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\PromisorInterface' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/PromisorInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\RejectedPromise' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/RejectedPromise.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\RejectionException' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/RejectionException.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\TaskQueue' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/TaskQueue.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\TaskQueueInterface' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/TaskQueueInterface.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Promise\\Utils' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/promises/src/Utils.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\AppendStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/AppendStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\BufferStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/BufferStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\CachingStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/CachingStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\DroppingStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/DroppingStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\FnStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/FnStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Header' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Header.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\InflateStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/InflateStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\LazyOpenStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/LazyOpenStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\LimitStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/LimitStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Message' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Message.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\MessageTrait' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/MessageTrait.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\MimeType' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/MimeType.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\MultipartStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/MultipartStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\NoSeekStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/NoSeekStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\PumpStream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/PumpStream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Query' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Query.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Request' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Request.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Response' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Response.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Rfc7230' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Rfc7230.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\ServerRequest' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/ServerRequest.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Stream' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Stream.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\StreamDecoratorTrait' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/StreamDecoratorTrait.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\StreamWrapper' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/StreamWrapper.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UploadedFile' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/UploadedFile.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Uri' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Uri.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UriComparator' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/UriComparator.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UriNormalizer' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/UriNormalizer.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\UriResolver' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/UriResolver.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Psr7\\Utils' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/psr7/src/Utils.php',
'PostSMTP\\Vendor\\GuzzleHttp\\RedirectMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/RedirectMiddleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\RequestOptions' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/RequestOptions.php',
'PostSMTP\\Vendor\\GuzzleHttp\\RetryMiddleware' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/RetryMiddleware.php',
'PostSMTP\\Vendor\\GuzzleHttp\\TransferStats' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/TransferStats.php',
'PostSMTP\\Vendor\\GuzzleHttp\\UriTemplate' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/UriTemplate.php',
'PostSMTP\\Vendor\\GuzzleHttp\\Utils' => __DIR__ . '/../..' . '/vendor_prefixed/guzzlehttp/guzzle/src/Utils.php',
'PostSMTP\\Vendor\\Monolog\\ErrorHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/ErrorHandler.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\ChromePHPFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\ElasticaFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\FlowdockFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\FluentdFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\FormatterInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\GelfMessageFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\HtmlFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\JsonFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\LineFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LineFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\LogglyFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\LogstashFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\MongoDBFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\NormalizerFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\ScalarFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Formatter\\WildfireFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AbstractHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AbstractProcessingHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AbstractSyslogHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\AmqpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AmqpHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\BrowserConsoleHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\BufferHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/BufferHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ChromePHPHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\CouchDBHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\CubeHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/CubeHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\Curl\\Util' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/Curl/Util.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\DeduplicationHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\DoctrineCouchDBHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\DynamoDbHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ElasticSearchHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ErrorLogHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FilterHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FilterHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossedHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossed\\ChannelLevelActivationStrategy' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FingersCrossed\\ErrorLevelActivationStrategy' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FirePHPHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FleepHookHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FlowdockHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FormattableHandlerInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FormattableHandlerInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\FormattableHandlerTrait' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FormattableHandlerTrait.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\GelfHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/GelfHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\GroupHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/GroupHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\HandlerInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/HandlerInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\HandlerWrapper' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\HipChatHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/HipChatHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\IFTTTHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\InsightOpsHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\LogEntriesHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\LogglyHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/LogglyHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MailHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MailHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MandrillHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MandrillHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MissingExtensionException' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\MongoDBHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\NativeMailerHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\NewRelicHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\NullHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NullHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\PHPConsoleHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ProcessableHandlerInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ProcessableHandlerInterface.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ProcessableHandlerTrait' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ProcessableHandlerTrait.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\PsrHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/PsrHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\PushoverHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/PushoverHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RavenHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RavenHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RedisHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RedisHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RollbarHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RollbarHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\RotatingFileHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SamplingHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SamplingHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SlackHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SlackWebhookHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\Slack\\SlackRecord' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/Slack/SlackRecord.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SlackbotHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SocketHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SocketHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\StreamHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/StreamHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SwiftMailerHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SyslogHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SyslogHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SyslogUdpHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\SyslogUdp\\UdpSocket' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\TestHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/TestHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\WhatFailureGroupHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php',
'PostSMTP\\Vendor\\Monolog\\Handler\\ZendMonitorHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php',
'PostSMTP\\Vendor\\Monolog\\Logger' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\GitProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/GitProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\IntrospectionProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MemoryPeakUsageProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MemoryProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MemoryUsageProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\MercurialProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\ProcessIdProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\ProcessorInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\PsrLogMessageProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\TagProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/TagProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\UidProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/UidProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Processor\\WebProcessor' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Processor/WebProcessor.php',
'PostSMTP\\Vendor\\Monolog\\Registry' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Registry.php',
'PostSMTP\\Vendor\\Monolog\\ResettableInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/ResettableInterface.php',
'PostSMTP\\Vendor\\Monolog\\SignalHandler' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/SignalHandler.php',
'PostSMTP\\Vendor\\Monolog\\Utils' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/monolog/src/Monolog/Utils.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base32' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base32.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base32Hex' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base32Hex.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64DotSlash' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64DotSlash.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64DotSlashOrdered' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64DotSlashOrdered.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Base64UrlSafe' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Base64UrlSafe.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Binary' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Binary.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\EncoderInterface' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/EncoderInterface.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Encoding' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Encoding.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\Hex' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/Hex.php',
'PostSMTP\\Vendor\\ParagonIE\\ConstantTime\\RFC4648' => __DIR__ . '/../..' . '/vendor_prefixed/paragonie/constant_time_encoding/src/RFC4648.php',
'PostSMTP\\Vendor\\Psr\\Cache\\CacheException' => __DIR__ . '/../..' . '/vendor_prefixed/psr/cache/src/CacheException.php',
'PostSMTP\\Vendor\\Psr\\Cache\\CacheItemInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/cache/src/CacheItemInterface.php',
'PostSMTP\\Vendor\\Psr\\Cache\\CacheItemPoolInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/cache/src/CacheItemPoolInterface.php',
'PostSMTP\\Vendor\\Psr\\Cache\\InvalidArgumentException' => __DIR__ . '/../..' . '/vendor_prefixed/psr/cache/src/InvalidArgumentException.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/MessageInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/RequestInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/ResponseInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\ServerRequestInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/ServerRequestInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\StreamInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/StreamInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\UploadedFileInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/UploadedFileInterface.php',
'PostSMTP\\Vendor\\Psr\\Http\\Message\\UriInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/http-message/src/UriInterface.php',
'PostSMTP\\Vendor\\Psr\\Log\\AbstractLogger' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/AbstractLogger.php',
'PostSMTP\\Vendor\\Psr\\Log\\InvalidArgumentException' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/InvalidArgumentException.php',
'PostSMTP\\Vendor\\Psr\\Log\\LogLevel' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/LogLevel.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/LoggerAwareInterface.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/LoggerAwareTrait.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerInterface' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/LoggerInterface.php',
'PostSMTP\\Vendor\\Psr\\Log\\LoggerTrait' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/LoggerTrait.php',
'PostSMTP\\Vendor\\Psr\\Log\\NullLogger' => __DIR__ . '/../..' . '/vendor_prefixed/psr/log/Psr/Log/NullLogger.php',
'PostSMTP\\Vendor\\Symfony\\Polyfill\\Intl\\Idn\\Idn' => __DIR__ . '/../..' . '/vendor_prefixed/symfony/polyfill-intl-idn/Idn.php',
'PostSMTP\\Vendor\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/../..' . '/vendor_prefixed/symfony/polyfill-mbstring/Mbstring.php',
'PostSMTP\\Vendor\\Symfony\\Polyfill\\Php72\\Php72' => __DIR__ . '/../..' . '/vendor_prefixed/symfony/polyfill-php72/Php72.php',
'PostSMTP\\Vendor\\phpseclib3\\Common\\Functions\\Strings' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Common/Functions/Strings.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\AES' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/AES.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\AsymmetricKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\BlockCipher' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/BlockCipher.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\JWK' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/JWK.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\OpenSSH' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS8' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PuTTY' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Formats\\Signature\\Raw' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Signature/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\PrivateKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\PublicKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\StreamCipher' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/StreamCipher.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\SymmetricKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/SymmetricKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Traits\\Fingerprint' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/Fingerprint.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Common\\Traits\\PasswordProtected' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/PasswordProtected.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\Formats\\Keys\\PKCS1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\Formats\\Keys\\PKCS8' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\Parameters' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/Parameters.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\PrivateKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DH\\PublicKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DH/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\OpenSSH' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\PKCS1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\PKCS8' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\PuTTY' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\Raw' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Keys\\XML' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/XML.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Signature\\ASN1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ASN1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Signature\\Raw' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Formats\\Signature\\SSH2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/SSH2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\Parameters' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/Parameters.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\PrivateKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA\\PublicKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Base' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Base.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Binary' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Binary.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\KoblitzPrime' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/KoblitzPrime.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Montgomery' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Montgomery.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\Prime' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Prime.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\BaseCurves\\TwistedEdwards' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/TwistedEdwards.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Curve25519' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Curve25519.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Curve448' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Curve448.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Ed25519' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Ed25519.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\Ed448' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Ed448.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP160r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP160r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP160t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP160t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP192r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP192r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP192t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP192t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP224r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP224r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP224t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP224t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP256r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP256r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP256t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP256t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP320r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP320r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP320t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP320t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP384r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP384r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP384t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP384t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP512r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP512r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\brainpoolP512t1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP512t1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistb233' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistb233.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistb409' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistb409.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk163' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk163.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk233' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk233.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk283' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk283.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistk409' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk409.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp192' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp192.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp224' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp224.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp256' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp256.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp384' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp384.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistp521' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp521.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\nistt571' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistt571.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime192v1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime192v2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime192v3' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v3.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime239v1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime239v2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime239v3' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v3.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\prime256v1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime256v1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp112r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp112r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp112r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp112r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp128r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp128r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp160k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp160r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp160r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp192k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp192k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp192r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp192r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp224k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp224k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp224r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp224r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp256k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp256k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp256r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp256r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp384r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp384r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\secp521r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp521r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect113r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect113r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect113r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect113r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect131r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect131r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect131r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect131r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect163k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect163r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect163r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect193r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect193r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect193r2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect193r2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect233k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect233k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect233r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect233r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect239k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect239k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect283k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect283k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect283r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect283r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect409k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect409k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect409r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect409r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect571k1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect571k1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect571r1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect571r1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\Common' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/Common.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\JWK' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/JWK.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\MontgomeryPrivate' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/MontgomeryPrivate.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\MontgomeryPublic' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/MontgomeryPublic.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\OpenSSH' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\PKCS1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\PKCS8' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\PuTTY' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\XML' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/XML.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Keys\\libsodium' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/libsodium.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Signature\\ASN1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ASN1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Signature\\Raw' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Formats\\Signature\\SSH2' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/SSH2.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Parameters' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\PrivateKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\PublicKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\JWK' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/JWK.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\MSBLOB' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/MSBLOB.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\OpenSSH' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/OpenSSH.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PKCS1' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS1.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PKCS8' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS8.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PSS' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PSS.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\PuTTY' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PuTTY.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\Raw' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/Raw.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\Formats\\Keys\\XML' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/XML.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\PrivateKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/PrivateKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\PublicKey' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/RSA/PublicKey.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Random' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Random.php',
'PostSMTP\\Vendor\\phpseclib3\\Crypt\\Rijndael' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\BadConfigurationException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/BadConfigurationException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\BadDecryptionException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/BadDecryptionException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\BadModeException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/BadModeException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\ConnectionClosedException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/ConnectionClosedException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\FileNotFoundException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/FileNotFoundException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\InconsistentSetupException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/InconsistentSetupException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\InsufficientSetupException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/InsufficientSetupException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\NoKeyLoadedException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/NoKeyLoadedException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\NoSupportedAlgorithmsException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/NoSupportedAlgorithmsException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnableToConnectException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnableToConnectException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedAlgorithmException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedAlgorithmException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedCurveException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedCurveException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedFormatException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedFormatException.php',
'PostSMTP\\Vendor\\phpseclib3\\Exception\\UnsupportedOperationException' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Exception/UnsupportedOperationException.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Base' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Base.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\BuiltIn' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/BuiltIn.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\DefaultEngine' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/DefaultEngine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\OpenSSL' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/OpenSSL.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Reductions\\Barrett' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/Barrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\BCMath\\Reductions\\EvalBarrett' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/EvalBarrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\Engine' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/Engine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\GMP' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\GMP\\DefaultEngine' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP/DefaultEngine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\OpenSSL' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/OpenSSL.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP32' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP32.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP64' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP64.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Base' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Base.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\DefaultEngine' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/DefaultEngine.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Montgomery' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Montgomery.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\OpenSSL' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/OpenSSL.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\Barrett' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Barrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\Classic' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Classic.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\EvalBarrett' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\Montgomery' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Montgomery.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\MontgomeryMult' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/MontgomeryMult.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Reductions\\PowerOfTwo' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/PowerOfTwo.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BinaryField' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BinaryField.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\BinaryField\\Integer' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/BinaryField/Integer.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\Common\\FiniteField' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/Common/FiniteField.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\Common\\FiniteField\\Integer' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/Common/FiniteField/Integer.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\PrimeField' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/PrimeField.php',
'PostSMTP\\Vendor\\phpseclib3\\Math\\PrimeField\\Integer' => __DIR__ . '/../..' . '/vendor_prefixed/phpseclib/phpseclib/phpseclib/Math/PrimeField/Integer.php',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit2908371b091f5e540e360758e6b387f4::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit2908371b091f5e540e360758e6b387f4::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit2908371b091f5e540e360758e6b387f4::$classMap;
}, null, ClassLoader::class);
}
}

View File

@@ -0,0 +1,26 @@
<?php
// platform_check.php @generated by Composer
$issues = array();
if (!(PHP_VERSION_ID >= 50620)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.20". You are running ' . PHP_VERSION . '.';
}
if ($issues) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
} elseif (!headers_sent()) {
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
}
}
trigger_error(
'Composer detected issues in your platform: ' . implode(' ', $issues),
E_USER_ERROR
);
}

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service;
use PostSMTP\Vendor\Google\Client;
/**
* Service definition for Gmail (v1).
*
* <p>
* The Gmail API lets you view and manage Gmail mailbox data like threads,
* messages, and labels.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/gmail/api/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Gmail extends \PostSMTP\Vendor\Google\Service
{
/** Read, compose, send, and permanently delete all your email from Gmail. */
const MAIL_GOOGLE_COM = "https://mail.google.com/";
/** Manage drafts and send emails when you interact with the add-on. */
const GMAIL_ADDONS_CURRENT_ACTION_COMPOSE = "https://www.googleapis.com/auth/gmail.addons.current.action.compose";
/** View your email messages when you interact with the add-on. */
const GMAIL_ADDONS_CURRENT_MESSAGE_ACTION = "https://www.googleapis.com/auth/gmail.addons.current.message.action";
/** View your email message metadata when the add-on is running. */
const GMAIL_ADDONS_CURRENT_MESSAGE_METADATA = "https://www.googleapis.com/auth/gmail.addons.current.message.metadata";
/** View your email messages when the add-on is running. */
const GMAIL_ADDONS_CURRENT_MESSAGE_READONLY = "https://www.googleapis.com/auth/gmail.addons.current.message.readonly";
/** Manage drafts and send emails. */
const GMAIL_COMPOSE = "https://www.googleapis.com/auth/gmail.compose";
/** Add emails into your Gmail mailbox. */
const GMAIL_INSERT = "https://www.googleapis.com/auth/gmail.insert";
/** See and edit your email labels. */
const GMAIL_LABELS = "https://www.googleapis.com/auth/gmail.labels";
/** View your email message metadata such as labels and headers, but not the email body. */
const GMAIL_METADATA = "https://www.googleapis.com/auth/gmail.metadata";
/** Read, compose, and send emails from your Gmail account. */
const GMAIL_MODIFY = "https://www.googleapis.com/auth/gmail.modify";
/** View your email messages and settings. */
const GMAIL_READONLY = "https://www.googleapis.com/auth/gmail.readonly";
/** Send email on your behalf. */
const GMAIL_SEND = "https://www.googleapis.com/auth/gmail.send";
/** See, edit, create, or change your email settings and filters in Gmail. */
const GMAIL_SETTINGS_BASIC = "https://www.googleapis.com/auth/gmail.settings.basic";
/** Manage your sensitive mail settings, including who can manage your mail. */
const GMAIL_SETTINGS_SHARING = "https://www.googleapis.com/auth/gmail.settings.sharing";
public $users;
public $users_drafts;
public $users_history;
public $users_labels;
public $users_messages;
public $users_messages_attachments;
public $users_settings;
public $users_settings_delegates;
public $users_settings_filters;
public $users_settings_forwardingAddresses;
public $users_settings_sendAs;
public $users_settings_sendAs_smimeInfo;
public $users_threads;
/**
* Constructs the internal representation of the Gmail service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://gmail.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'gmail';
$this->users = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\Users($this, $this->serviceName, 'users', ['methods' => ['getProfile' => ['path' => 'gmail/v1/users/{userId}/profile', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'stop' => ['path' => 'gmail/v1/users/{userId}/stop', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'watch' => ['path' => 'gmail/v1/users/{userId}/watch', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_drafts = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersDrafts($this, $this->serviceName, 'drafts', ['methods' => ['create' => ['path' => 'gmail/v1/users/{userId}/drafts', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/drafts/{id}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/drafts/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'format' => ['location' => 'query', 'type' => 'string']]], 'list' => ['path' => 'gmail/v1/users/{userId}/drafts', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'includeSpamTrash' => ['location' => 'query', 'type' => 'boolean'], 'maxResults' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string'], 'q' => ['location' => 'query', 'type' => 'string']]], 'send' => ['path' => 'gmail/v1/users/{userId}/drafts/send', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'gmail/v1/users/{userId}/drafts/{id}', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_history = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersHistory($this, $this->serviceName, 'history', ['methods' => ['list' => ['path' => 'gmail/v1/users/{userId}/history', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'historyTypes' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'labelId' => ['location' => 'query', 'type' => 'string'], 'maxResults' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string'], 'startHistoryId' => ['location' => 'query', 'type' => 'string']]]]]);
$this->users_labels = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersLabels($this, $this->serviceName, 'labels', ['methods' => ['create' => ['path' => 'gmail/v1/users/{userId}/labels', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/labels/{id}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/labels/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/labels', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'patch' => ['path' => 'gmail/v1/users/{userId}/labels/{id}', 'httpMethod' => 'PATCH', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'gmail/v1/users/{userId}/labels/{id}', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_messages = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersMessages($this, $this->serviceName, 'messages', ['methods' => ['batchDelete' => ['path' => 'gmail/v1/users/{userId}/messages/batchDelete', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'batchModify' => ['path' => 'gmail/v1/users/{userId}/messages/batchModify', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/messages/{id}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/messages/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'format' => ['location' => 'query', 'type' => 'string'], 'metadataHeaders' => ['location' => 'query', 'type' => 'string', 'repeated' => \true]]], 'import' => ['path' => 'gmail/v1/users/{userId}/messages/import', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'deleted' => ['location' => 'query', 'type' => 'boolean'], 'internalDateSource' => ['location' => 'query', 'type' => 'string'], 'neverMarkSpam' => ['location' => 'query', 'type' => 'boolean'], 'processForCalendar' => ['location' => 'query', 'type' => 'boolean']]], 'insert' => ['path' => 'gmail/v1/users/{userId}/messages', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'deleted' => ['location' => 'query', 'type' => 'boolean'], 'internalDateSource' => ['location' => 'query', 'type' => 'string']]], 'list' => ['path' => 'gmail/v1/users/{userId}/messages', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'includeSpamTrash' => ['location' => 'query', 'type' => 'boolean'], 'labelIds' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'maxResults' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string'], 'q' => ['location' => 'query', 'type' => 'string']]], 'modify' => ['path' => 'gmail/v1/users/{userId}/messages/{id}/modify', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'send' => ['path' => 'gmail/v1/users/{userId}/messages/send', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'trash' => ['path' => 'gmail/v1/users/{userId}/messages/{id}/trash', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'untrash' => ['path' => 'gmail/v1/users/{userId}/messages/{id}/untrash', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_messages_attachments = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersMessagesAttachments($this, $this->serviceName, 'attachments', ['methods' => ['get' => ['path' => 'gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'messageId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_settings = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettings($this, $this->serviceName, 'settings', ['methods' => ['getAutoForwarding' => ['path' => 'gmail/v1/users/{userId}/settings/autoForwarding', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getImap' => ['path' => 'gmail/v1/users/{userId}/settings/imap', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getLanguage' => ['path' => 'gmail/v1/users/{userId}/settings/language', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getPop' => ['path' => 'gmail/v1/users/{userId}/settings/pop', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getVacation' => ['path' => 'gmail/v1/users/{userId}/settings/vacation', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'updateAutoForwarding' => ['path' => 'gmail/v1/users/{userId}/settings/autoForwarding', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'updateImap' => ['path' => 'gmail/v1/users/{userId}/settings/imap', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'updateLanguage' => ['path' => 'gmail/v1/users/{userId}/settings/language', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'updatePop' => ['path' => 'gmail/v1/users/{userId}/settings/pop', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'updateVacation' => ['path' => 'gmail/v1/users/{userId}/settings/vacation', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_settings_delegates = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsDelegates($this, $this->serviceName, 'delegates', ['methods' => ['create' => ['path' => 'gmail/v1/users/{userId}/settings/delegates', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/settings/delegates/{delegateEmail}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'delegateEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/settings/delegates/{delegateEmail}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'delegateEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/settings/delegates', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_settings_filters = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsFilters($this, $this->serviceName, 'filters', ['methods' => ['create' => ['path' => 'gmail/v1/users/{userId}/settings/filters', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/settings/filters/{id}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/settings/filters/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/settings/filters', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_settings_forwardingAddresses = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsForwardingAddresses($this, $this->serviceName, 'forwardingAddresses', ['methods' => ['create' => ['path' => 'gmail/v1/users/{userId}/settings/forwardingAddresses', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'forwardingEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'forwardingEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/settings/forwardingAddresses', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_settings_sendAs = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsSendAs($this, $this->serviceName, 'sendAs', ['methods' => ['create' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'patch' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}', 'httpMethod' => 'PATCH', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}', 'httpMethod' => 'PUT', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'verify' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_settings_sendAs_smimeInfo = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsSendAsSmimeInfo($this, $this->serviceName, 'smimeInfo', ['methods' => ['delete' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'setDefault' => ['path' => 'gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'sendAsEmail' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->users_threads = new \PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersThreads($this, $this->serviceName, 'threads', ['methods' => ['delete' => ['path' => 'gmail/v1/users/{userId}/threads/{id}', 'httpMethod' => 'DELETE', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'gmail/v1/users/{userId}/threads/{id}', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'format' => ['location' => 'query', 'type' => 'string'], 'metadataHeaders' => ['location' => 'query', 'type' => 'string', 'repeated' => \true]]], 'list' => ['path' => 'gmail/v1/users/{userId}/threads', 'httpMethod' => 'GET', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'includeSpamTrash' => ['location' => 'query', 'type' => 'boolean'], 'labelIds' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'maxResults' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string'], 'q' => ['location' => 'query', 'type' => 'string']]], 'modify' => ['path' => 'gmail/v1/users/{userId}/threads/{id}/modify', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'trash' => ['path' => 'gmail/v1/users/{userId}/threads/{id}/trash', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'untrash' => ['path' => 'gmail/v1/users/{userId}/threads/{id}/untrash', 'httpMethod' => 'POST', 'parameters' => ['userId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'id' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail::class, 'PostSMTP\\Vendor\\Google_Service_Gmail');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class AutoForwarding extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $disposition;
/**
* @var string
*/
public $emailAddress;
/**
* @var bool
*/
public $enabled;
/**
* @param string
*/
public function setDisposition($disposition)
{
$this->disposition = $disposition;
}
/**
* @return string
*/
public function getDisposition()
{
return $this->disposition;
}
/**
* @param string
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\AutoForwarding::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_AutoForwarding');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class BatchDeleteMessagesRequest extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'ids';
/**
* @var string[]
*/
public $ids;
/**
* @param string[]
*/
public function setIds($ids)
{
$this->ids = $ids;
}
/**
* @return string[]
*/
public function getIds()
{
return $this->ids;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\BatchDeleteMessagesRequest::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_BatchDeleteMessagesRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class BatchModifyMessagesRequest extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'removeLabelIds';
/**
* @var string[]
*/
public $addLabelIds;
/**
* @var string[]
*/
public $ids;
/**
* @var string[]
*/
public $removeLabelIds;
/**
* @param string[]
*/
public function setAddLabelIds($addLabelIds)
{
$this->addLabelIds = $addLabelIds;
}
/**
* @return string[]
*/
public function getAddLabelIds()
{
return $this->addLabelIds;
}
/**
* @param string[]
*/
public function setIds($ids)
{
$this->ids = $ids;
}
/**
* @return string[]
*/
public function getIds()
{
return $this->ids;
}
/**
* @param string[]
*/
public function setRemoveLabelIds($removeLabelIds)
{
$this->removeLabelIds = $removeLabelIds;
}
/**
* @return string[]
*/
public function getRemoveLabelIds()
{
return $this->removeLabelIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\BatchModifyMessagesRequest::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_BatchModifyMessagesRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Delegate extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $delegateEmail;
/**
* @var string
*/
public $verificationStatus;
/**
* @param string
*/
public function setDelegateEmail($delegateEmail)
{
$this->delegateEmail = $delegateEmail;
}
/**
* @return string
*/
public function getDelegateEmail()
{
return $this->delegateEmail;
}
/**
* @param string
*/
public function setVerificationStatus($verificationStatus)
{
$this->verificationStatus = $verificationStatus;
}
/**
* @return string
*/
public function getVerificationStatus()
{
return $this->verificationStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Delegate::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Delegate');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Draft extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $id;
protected $messageType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messageDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Message
*/
public function setMessage(\PostSMTP\Vendor\Google\Service\Gmail\Message $message)
{
$this->message = $message;
}
/**
* @return Message
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Draft::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Draft');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Filter extends \PostSMTP\Vendor\Google\Model
{
protected $actionType = \PostSMTP\Vendor\Google\Service\Gmail\FilterAction::class;
protected $actionDataType = '';
protected $criteriaType = \PostSMTP\Vendor\Google\Service\Gmail\FilterCriteria::class;
protected $criteriaDataType = '';
/**
* @var string
*/
public $id;
/**
* @param FilterAction
*/
public function setAction(\PostSMTP\Vendor\Google\Service\Gmail\FilterAction $action)
{
$this->action = $action;
}
/**
* @return FilterAction
*/
public function getAction()
{
return $this->action;
}
/**
* @param FilterCriteria
*/
public function setCriteria(\PostSMTP\Vendor\Google\Service\Gmail\FilterCriteria $criteria)
{
$this->criteria = $criteria;
}
/**
* @return FilterCriteria
*/
public function getCriteria()
{
return $this->criteria;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Filter::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Filter');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class FilterAction extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'removeLabelIds';
/**
* @var string[]
*/
public $addLabelIds;
/**
* @var string
*/
public $forward;
/**
* @var string[]
*/
public $removeLabelIds;
/**
* @param string[]
*/
public function setAddLabelIds($addLabelIds)
{
$this->addLabelIds = $addLabelIds;
}
/**
* @return string[]
*/
public function getAddLabelIds()
{
return $this->addLabelIds;
}
/**
* @param string
*/
public function setForward($forward)
{
$this->forward = $forward;
}
/**
* @return string
*/
public function getForward()
{
return $this->forward;
}
/**
* @param string[]
*/
public function setRemoveLabelIds($removeLabelIds)
{
$this->removeLabelIds = $removeLabelIds;
}
/**
* @return string[]
*/
public function getRemoveLabelIds()
{
return $this->removeLabelIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\FilterAction::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_FilterAction');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class FilterCriteria extends \PostSMTP\Vendor\Google\Model
{
/**
* @var bool
*/
public $excludeChats;
/**
* @var string
*/
public $from;
/**
* @var bool
*/
public $hasAttachment;
/**
* @var string
*/
public $negatedQuery;
/**
* @var string
*/
public $query;
/**
* @var int
*/
public $size;
/**
* @var string
*/
public $sizeComparison;
/**
* @var string
*/
public $subject;
/**
* @var string
*/
public $to;
/**
* @param bool
*/
public function setExcludeChats($excludeChats)
{
$this->excludeChats = $excludeChats;
}
/**
* @return bool
*/
public function getExcludeChats()
{
return $this->excludeChats;
}
/**
* @param string
*/
public function setFrom($from)
{
$this->from = $from;
}
/**
* @return string
*/
public function getFrom()
{
return $this->from;
}
/**
* @param bool
*/
public function setHasAttachment($hasAttachment)
{
$this->hasAttachment = $hasAttachment;
}
/**
* @return bool
*/
public function getHasAttachment()
{
return $this->hasAttachment;
}
/**
* @param string
*/
public function setNegatedQuery($negatedQuery)
{
$this->negatedQuery = $negatedQuery;
}
/**
* @return string
*/
public function getNegatedQuery()
{
return $this->negatedQuery;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param int
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return int
*/
public function getSize()
{
return $this->size;
}
/**
* @param string
*/
public function setSizeComparison($sizeComparison)
{
$this->sizeComparison = $sizeComparison;
}
/**
* @return string
*/
public function getSizeComparison()
{
return $this->sizeComparison;
}
/**
* @param string
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
/**
* @param string
*/
public function setTo($to)
{
$this->to = $to;
}
/**
* @return string
*/
public function getTo()
{
return $this->to;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\FilterCriteria::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_FilterCriteria');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ForwardingAddress extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $forwardingEmail;
/**
* @var string
*/
public $verificationStatus;
/**
* @param string
*/
public function setForwardingEmail($forwardingEmail)
{
$this->forwardingEmail = $forwardingEmail;
}
/**
* @return string
*/
public function getForwardingEmail()
{
return $this->forwardingEmail;
}
/**
* @param string
*/
public function setVerificationStatus($verificationStatus)
{
$this->verificationStatus = $verificationStatus;
}
/**
* @return string
*/
public function getVerificationStatus()
{
return $this->verificationStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ForwardingAddress::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ForwardingAddress');

View File

@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class History extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'messagesDeleted';
/**
* @var string
*/
public $id;
protected $labelsAddedType = \PostSMTP\Vendor\Google\Service\Gmail\HistoryLabelAdded::class;
protected $labelsAddedDataType = 'array';
protected $labelsRemovedType = \PostSMTP\Vendor\Google\Service\Gmail\HistoryLabelRemoved::class;
protected $labelsRemovedDataType = 'array';
protected $messagesType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messagesDataType = 'array';
protected $messagesAddedType = \PostSMTP\Vendor\Google\Service\Gmail\HistoryMessageAdded::class;
protected $messagesAddedDataType = 'array';
protected $messagesDeletedType = \PostSMTP\Vendor\Google\Service\Gmail\HistoryMessageDeleted::class;
protected $messagesDeletedDataType = 'array';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param HistoryLabelAdded[]
*/
public function setLabelsAdded($labelsAdded)
{
$this->labelsAdded = $labelsAdded;
}
/**
* @return HistoryLabelAdded[]
*/
public function getLabelsAdded()
{
return $this->labelsAdded;
}
/**
* @param HistoryLabelRemoved[]
*/
public function setLabelsRemoved($labelsRemoved)
{
$this->labelsRemoved = $labelsRemoved;
}
/**
* @return HistoryLabelRemoved[]
*/
public function getLabelsRemoved()
{
return $this->labelsRemoved;
}
/**
* @param Message[]
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return Message[]
*/
public function getMessages()
{
return $this->messages;
}
/**
* @param HistoryMessageAdded[]
*/
public function setMessagesAdded($messagesAdded)
{
$this->messagesAdded = $messagesAdded;
}
/**
* @return HistoryMessageAdded[]
*/
public function getMessagesAdded()
{
return $this->messagesAdded;
}
/**
* @param HistoryMessageDeleted[]
*/
public function setMessagesDeleted($messagesDeleted)
{
$this->messagesDeleted = $messagesDeleted;
}
/**
* @return HistoryMessageDeleted[]
*/
public function getMessagesDeleted()
{
return $this->messagesDeleted;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\History::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_History');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class HistoryLabelAdded extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'labelIds';
/**
* @var string[]
*/
public $labelIds;
protected $messageType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messageDataType = '';
/**
* @param string[]
*/
public function setLabelIds($labelIds)
{
$this->labelIds = $labelIds;
}
/**
* @return string[]
*/
public function getLabelIds()
{
return $this->labelIds;
}
/**
* @param Message
*/
public function setMessage(\PostSMTP\Vendor\Google\Service\Gmail\Message $message)
{
$this->message = $message;
}
/**
* @return Message
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\HistoryLabelAdded::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_HistoryLabelAdded');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class HistoryLabelRemoved extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'labelIds';
/**
* @var string[]
*/
public $labelIds;
protected $messageType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messageDataType = '';
/**
* @param string[]
*/
public function setLabelIds($labelIds)
{
$this->labelIds = $labelIds;
}
/**
* @return string[]
*/
public function getLabelIds()
{
return $this->labelIds;
}
/**
* @param Message
*/
public function setMessage(\PostSMTP\Vendor\Google\Service\Gmail\Message $message)
{
$this->message = $message;
}
/**
* @return Message
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\HistoryLabelRemoved::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_HistoryLabelRemoved');

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class HistoryMessageAdded extends \PostSMTP\Vendor\Google\Model
{
protected $messageType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messageDataType = '';
/**
* @param Message
*/
public function setMessage(\PostSMTP\Vendor\Google\Service\Gmail\Message $message)
{
$this->message = $message;
}
/**
* @return Message
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\HistoryMessageAdded::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_HistoryMessageAdded');

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class HistoryMessageDeleted extends \PostSMTP\Vendor\Google\Model
{
protected $messageType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messageDataType = '';
/**
* @param Message
*/
public function setMessage(\PostSMTP\Vendor\Google\Service\Gmail\Message $message)
{
$this->message = $message;
}
/**
* @return Message
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\HistoryMessageDeleted::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_HistoryMessageDeleted');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ImapSettings extends \PostSMTP\Vendor\Google\Model
{
/**
* @var bool
*/
public $autoExpunge;
/**
* @var bool
*/
public $enabled;
/**
* @var string
*/
public $expungeBehavior;
/**
* @var int
*/
public $maxFolderSize;
/**
* @param bool
*/
public function setAutoExpunge($autoExpunge)
{
$this->autoExpunge = $autoExpunge;
}
/**
* @return bool
*/
public function getAutoExpunge()
{
return $this->autoExpunge;
}
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param string
*/
public function setExpungeBehavior($expungeBehavior)
{
$this->expungeBehavior = $expungeBehavior;
}
/**
* @return string
*/
public function getExpungeBehavior()
{
return $this->expungeBehavior;
}
/**
* @param int
*/
public function setMaxFolderSize($maxFolderSize)
{
$this->maxFolderSize = $maxFolderSize;
}
/**
* @return int
*/
public function getMaxFolderSize()
{
return $this->maxFolderSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ImapSettings::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ImapSettings');

View File

@@ -0,0 +1,202 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Label extends \PostSMTP\Vendor\Google\Model
{
protected $colorType = \PostSMTP\Vendor\Google\Service\Gmail\LabelColor::class;
protected $colorDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $labelListVisibility;
/**
* @var string
*/
public $messageListVisibility;
/**
* @var int
*/
public $messagesTotal;
/**
* @var int
*/
public $messagesUnread;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $threadsTotal;
/**
* @var int
*/
public $threadsUnread;
/**
* @var string
*/
public $type;
/**
* @param LabelColor
*/
public function setColor(\PostSMTP\Vendor\Google\Service\Gmail\LabelColor $color)
{
$this->color = $color;
}
/**
* @return LabelColor
*/
public function getColor()
{
return $this->color;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setLabelListVisibility($labelListVisibility)
{
$this->labelListVisibility = $labelListVisibility;
}
/**
* @return string
*/
public function getLabelListVisibility()
{
return $this->labelListVisibility;
}
/**
* @param string
*/
public function setMessageListVisibility($messageListVisibility)
{
$this->messageListVisibility = $messageListVisibility;
}
/**
* @return string
*/
public function getMessageListVisibility()
{
return $this->messageListVisibility;
}
/**
* @param int
*/
public function setMessagesTotal($messagesTotal)
{
$this->messagesTotal = $messagesTotal;
}
/**
* @return int
*/
public function getMessagesTotal()
{
return $this->messagesTotal;
}
/**
* @param int
*/
public function setMessagesUnread($messagesUnread)
{
$this->messagesUnread = $messagesUnread;
}
/**
* @return int
*/
public function getMessagesUnread()
{
return $this->messagesUnread;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setThreadsTotal($threadsTotal)
{
$this->threadsTotal = $threadsTotal;
}
/**
* @return int
*/
public function getThreadsTotal()
{
return $this->threadsTotal;
}
/**
* @param int
*/
public function setThreadsUnread($threadsUnread)
{
$this->threadsUnread = $threadsUnread;
}
/**
* @return int
*/
public function getThreadsUnread()
{
return $this->threadsUnread;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Label::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Label');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class LabelColor extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $backgroundColor;
/**
* @var string
*/
public $textColor;
/**
* @param string
*/
public function setBackgroundColor($backgroundColor)
{
$this->backgroundColor = $backgroundColor;
}
/**
* @return string
*/
public function getBackgroundColor()
{
return $this->backgroundColor;
}
/**
* @param string
*/
public function setTextColor($textColor)
{
$this->textColor = $textColor;
}
/**
* @return string
*/
public function getTextColor()
{
return $this->textColor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\LabelColor::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_LabelColor');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class LanguageSettings extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $displayLanguage;
/**
* @param string
*/
public function setDisplayLanguage($displayLanguage)
{
$this->displayLanguage = $displayLanguage;
}
/**
* @return string
*/
public function getDisplayLanguage()
{
return $this->displayLanguage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\LanguageSettings::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_LanguageSettings');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListDelegatesResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'delegates';
protected $delegatesType = \PostSMTP\Vendor\Google\Service\Gmail\Delegate::class;
protected $delegatesDataType = 'array';
/**
* @param Delegate[]
*/
public function setDelegates($delegates)
{
$this->delegates = $delegates;
}
/**
* @return Delegate[]
*/
public function getDelegates()
{
return $this->delegates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListDelegatesResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListDelegatesResponse');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListDraftsResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'drafts';
protected $draftsType = \PostSMTP\Vendor\Google\Service\Gmail\Draft::class;
protected $draftsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $resultSizeEstimate;
/**
* @param Draft[]
*/
public function setDrafts($drafts)
{
$this->drafts = $drafts;
}
/**
* @return Draft[]
*/
public function getDrafts()
{
return $this->drafts;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setResultSizeEstimate($resultSizeEstimate)
{
$this->resultSizeEstimate = $resultSizeEstimate;
}
/**
* @return string
*/
public function getResultSizeEstimate()
{
return $this->resultSizeEstimate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListDraftsResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListDraftsResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListFiltersResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'filter';
protected $filterType = \PostSMTP\Vendor\Google\Service\Gmail\Filter::class;
protected $filterDataType = 'array';
/**
* @param Filter[]
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return Filter[]
*/
public function getFilter()
{
return $this->filter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListFiltersResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListFiltersResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListForwardingAddressesResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'forwardingAddresses';
protected $forwardingAddressesType = \PostSMTP\Vendor\Google\Service\Gmail\ForwardingAddress::class;
protected $forwardingAddressesDataType = 'array';
/**
* @param ForwardingAddress[]
*/
public function setForwardingAddresses($forwardingAddresses)
{
$this->forwardingAddresses = $forwardingAddresses;
}
/**
* @return ForwardingAddress[]
*/
public function getForwardingAddresses()
{
return $this->forwardingAddresses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListForwardingAddressesResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListForwardingAddressesResponse');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListHistoryResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'history';
protected $historyType = \PostSMTP\Vendor\Google\Service\Gmail\History::class;
protected $historyDataType = 'array';
/**
* @var string
*/
public $historyId;
/**
* @var string
*/
public $nextPageToken;
/**
* @param History[]
*/
public function setHistory($history)
{
$this->history = $history;
}
/**
* @return History[]
*/
public function getHistory()
{
return $this->history;
}
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListHistoryResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListHistoryResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListLabelsResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'labels';
protected $labelsType = \PostSMTP\Vendor\Google\Service\Gmail\Label::class;
protected $labelsDataType = 'array';
/**
* @param Label[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Label[]
*/
public function getLabels()
{
return $this->labels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListLabelsResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListLabelsResponse');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListMessagesResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'messages';
protected $messagesType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messagesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $resultSizeEstimate;
/**
* @param Message[]
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return Message[]
*/
public function getMessages()
{
return $this->messages;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setResultSizeEstimate($resultSizeEstimate)
{
$this->resultSizeEstimate = $resultSizeEstimate;
}
/**
* @return string
*/
public function getResultSizeEstimate()
{
return $this->resultSizeEstimate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListMessagesResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListMessagesResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListSendAsResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'sendAs';
protected $sendAsType = \PostSMTP\Vendor\Google\Service\Gmail\SendAs::class;
protected $sendAsDataType = 'array';
/**
* @param SendAs[]
*/
public function setSendAs($sendAs)
{
$this->sendAs = $sendAs;
}
/**
* @return SendAs[]
*/
public function getSendAs()
{
return $this->sendAs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListSendAsResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListSendAsResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListSmimeInfoResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'smimeInfo';
protected $smimeInfoType = \PostSMTP\Vendor\Google\Service\Gmail\SmimeInfo::class;
protected $smimeInfoDataType = 'array';
/**
* @param SmimeInfo[]
*/
public function setSmimeInfo($smimeInfo)
{
$this->smimeInfo = $smimeInfo;
}
/**
* @return SmimeInfo[]
*/
public function getSmimeInfo()
{
return $this->smimeInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListSmimeInfoResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListSmimeInfoResponse');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ListThreadsResponse extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'threads';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $resultSizeEstimate;
protected $threadsType = \PostSMTP\Vendor\Google\Service\Gmail\Thread::class;
protected $threadsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setResultSizeEstimate($resultSizeEstimate)
{
$this->resultSizeEstimate = $resultSizeEstimate;
}
/**
* @return string
*/
public function getResultSizeEstimate()
{
return $this->resultSizeEstimate;
}
/**
* @param Thread[]
*/
public function setThreads($threads)
{
$this->threads = $threads;
}
/**
* @return Thread[]
*/
public function getThreads()
{
return $this->threads;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ListThreadsResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ListThreadsResponse');

View File

@@ -0,0 +1,185 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Message extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'labelIds';
/**
* @var string
*/
public $historyId;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $internalDate;
/**
* @var string[]
*/
public $labelIds;
protected $payloadType = \PostSMTP\Vendor\Google\Service\Gmail\MessagePart::class;
protected $payloadDataType = '';
/**
* @var string
*/
public $raw;
/**
* @var int
*/
public $sizeEstimate;
/**
* @var string
*/
public $snippet;
/**
* @var string
*/
public $threadId;
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInternalDate($internalDate)
{
$this->internalDate = $internalDate;
}
/**
* @return string
*/
public function getInternalDate()
{
return $this->internalDate;
}
/**
* @param string[]
*/
public function setLabelIds($labelIds)
{
$this->labelIds = $labelIds;
}
/**
* @return string[]
*/
public function getLabelIds()
{
return $this->labelIds;
}
/**
* @param MessagePart
*/
public function setPayload(\PostSMTP\Vendor\Google\Service\Gmail\MessagePart $payload)
{
$this->payload = $payload;
}
/**
* @return MessagePart
*/
public function getPayload()
{
return $this->payload;
}
/**
* @param string
*/
public function setRaw($raw)
{
$this->raw = $raw;
}
/**
* @return string
*/
public function getRaw()
{
return $this->raw;
}
/**
* @param int
*/
public function setSizeEstimate($sizeEstimate)
{
$this->sizeEstimate = $sizeEstimate;
}
/**
* @return int
*/
public function getSizeEstimate()
{
return $this->sizeEstimate;
}
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
/**
* @param string
*/
public function setThreadId($threadId)
{
$this->threadId = $threadId;
}
/**
* @return string
*/
public function getThreadId()
{
return $this->threadId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Message::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Message');

View File

@@ -0,0 +1,127 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class MessagePart extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'parts';
protected $bodyType = \PostSMTP\Vendor\Google\Service\Gmail\MessagePartBody::class;
protected $bodyDataType = '';
/**
* @var string
*/
public $filename;
protected $headersType = \PostSMTP\Vendor\Google\Service\Gmail\MessagePartHeader::class;
protected $headersDataType = 'array';
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $partId;
protected $partsType = \PostSMTP\Vendor\Google\Service\Gmail\MessagePart::class;
protected $partsDataType = 'array';
/**
* @param MessagePartBody
*/
public function setBody(\PostSMTP\Vendor\Google\Service\Gmail\MessagePartBody $body)
{
$this->body = $body;
}
/**
* @return MessagePartBody
*/
public function getBody()
{
return $this->body;
}
/**
* @param string
*/
public function setFilename($filename)
{
$this->filename = $filename;
}
/**
* @return string
*/
public function getFilename()
{
return $this->filename;
}
/**
* @param MessagePartHeader[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return MessagePartHeader[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setPartId($partId)
{
$this->partId = $partId;
}
/**
* @return string
*/
public function getPartId()
{
return $this->partId;
}
/**
* @param MessagePart[]
*/
public function setParts($parts)
{
$this->parts = $parts;
}
/**
* @return MessagePart[]
*/
public function getParts()
{
return $this->parts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\MessagePart::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_MessagePart');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class MessagePartBody extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $attachmentId;
/**
* @var string
*/
public $data;
/**
* @var int
*/
public $size;
/**
* @param string
*/
public function setAttachmentId($attachmentId)
{
$this->attachmentId = $attachmentId;
}
/**
* @return string
*/
public function getAttachmentId()
{
return $this->attachmentId;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param int
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return int
*/
public function getSize()
{
return $this->size;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\MessagePartBody::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_MessagePartBody');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class MessagePartHeader extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\MessagePartHeader::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_MessagePartHeader');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ModifyMessageRequest extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'removeLabelIds';
/**
* @var string[]
*/
public $addLabelIds;
/**
* @var string[]
*/
public $removeLabelIds;
/**
* @param string[]
*/
public function setAddLabelIds($addLabelIds)
{
$this->addLabelIds = $addLabelIds;
}
/**
* @return string[]
*/
public function getAddLabelIds()
{
return $this->addLabelIds;
}
/**
* @param string[]
*/
public function setRemoveLabelIds($removeLabelIds)
{
$this->removeLabelIds = $removeLabelIds;
}
/**
* @return string[]
*/
public function getRemoveLabelIds()
{
return $this->removeLabelIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ModifyMessageRequest::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ModifyMessageRequest');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class ModifyThreadRequest extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'removeLabelIds';
/**
* @var string[]
*/
public $addLabelIds;
/**
* @var string[]
*/
public $removeLabelIds;
/**
* @param string[]
*/
public function setAddLabelIds($addLabelIds)
{
$this->addLabelIds = $addLabelIds;
}
/**
* @return string[]
*/
public function getAddLabelIds()
{
return $this->addLabelIds;
}
/**
* @param string[]
*/
public function setRemoveLabelIds($removeLabelIds)
{
$this->removeLabelIds = $removeLabelIds;
}
/**
* @return string[]
*/
public function getRemoveLabelIds()
{
return $this->removeLabelIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\ModifyThreadRequest::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_ModifyThreadRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class PopSettings extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $accessWindow;
/**
* @var string
*/
public $disposition;
/**
* @param string
*/
public function setAccessWindow($accessWindow)
{
$this->accessWindow = $accessWindow;
}
/**
* @return string
*/
public function getAccessWindow()
{
return $this->accessWindow;
}
/**
* @param string
*/
public function setDisposition($disposition)
{
$this->disposition = $disposition;
}
/**
* @return string
*/
public function getDisposition()
{
return $this->disposition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\PopSettings::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_PopSettings');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Profile extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $emailAddress;
/**
* @var string
*/
public $historyId;
/**
* @var int
*/
public $messagesTotal;
/**
* @var int
*/
public $threadsTotal;
/**
* @param string
*/
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
/**
* @return string
*/
public function getEmailAddress()
{
return $this->emailAddress;
}
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param int
*/
public function setMessagesTotal($messagesTotal)
{
$this->messagesTotal = $messagesTotal;
}
/**
* @return int
*/
public function getMessagesTotal()
{
return $this->messagesTotal;
}
/**
* @param int
*/
public function setThreadsTotal($threadsTotal)
{
$this->threadsTotal = $threadsTotal;
}
/**
* @return int
*/
public function getThreadsTotal()
{
return $this->threadsTotal;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Profile::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Profile');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\Profile;
use PostSMTP\Vendor\Google\Service\Gmail\WatchRequest;
use PostSMTP\Vendor\Google\Service\Gmail\WatchResponse;
/**
* The "users" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $users = $gmailService->users;
* </code>
*/
class Users extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Gets the current user's Gmail profile. (users.getProfile)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return Profile
*/
public function getProfile($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('getProfile', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Profile::class);
}
/**
* Stop receiving push notifications for the given user mailbox. (users.stop)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
*/
public function stop($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('stop', [$params]);
}
/**
* Set up or update a push notification watch on the given user mailbox.
* (users.watch)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param WatchRequest $postBody
* @param array $optParams Optional parameters.
* @return WatchResponse
*/
public function watch($userId, \PostSMTP\Vendor\Google\Service\Gmail\WatchRequest $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('watch', [$params], \PostSMTP\Vendor\Google\Service\Gmail\WatchResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\Users::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_Users');

View File

@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\Draft;
use PostSMTP\Vendor\Google\Service\Gmail\ListDraftsResponse;
use PostSMTP\Vendor\Google\Service\Gmail\Message;
/**
* The "drafts" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $drafts = $gmailService->drafts;
* </code>
*/
class UsersDrafts extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Creates a new draft with the `DRAFT` label. (drafts.create)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param Draft $postBody
* @param array $optParams Optional parameters.
* @return Draft
*/
public function create($userId, \PostSMTP\Vendor\Google\Service\Gmail\Draft $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Draft::class);
}
/**
* Immediately and permanently deletes the specified draft. Does not simply
* trash it. (drafts.delete)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the draft to delete.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified draft. (drafts.get)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the draft to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string format The format to return the draft in.
* @return Draft
*/
public function get($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Draft::class);
}
/**
* Lists the drafts in the user's mailbox. (drafts.listUsersDrafts)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSpamTrash Include drafts from `SPAM` and `TRASH` in
* the results.
* @opt_param string maxResults Maximum number of drafts to return. This field
* defaults to 100. The maximum allowed value for this field is 500.
* @opt_param string pageToken Page token to retrieve a specific page of results
* in the list.
* @opt_param string q Only return draft messages matching the specified query.
* Supports the same query format as the Gmail search box. For example,
* `"from:someuser@example.com rfc822msgid: is:unread"`.
* @return ListDraftsResponse
*/
public function listUsersDrafts($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListDraftsResponse::class);
}
/**
* Sends the specified, existing draft to the recipients in the `To`, `Cc`, and
* `Bcc` headers. (drafts.send)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param Draft $postBody
* @param array $optParams Optional parameters.
* @return Message
*/
public function send($userId, \PostSMTP\Vendor\Google\Service\Gmail\Draft $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('send', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Replaces a draft's content. (drafts.update)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the draft to update.
* @param Draft $postBody
* @param array $optParams Optional parameters.
* @return Draft
*/
public function update($userId, $id, \PostSMTP\Vendor\Google\Service\Gmail\Draft $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('update', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Draft::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersDrafts::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersDrafts');

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\ListHistoryResponse;
/**
* The "history" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $history = $gmailService->history;
* </code>
*/
class UsersHistory extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Lists the history of all changes to the given mailbox. History results are
* returned in chronological order (increasing `historyId`).
* (history.listUsersHistory)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
*
* @opt_param string historyTypes History types to be returned by the function
* @opt_param string labelId Only return messages with a label matching the ID.
* @opt_param string maxResults Maximum number of history records to return.
* This field defaults to 100. The maximum allowed value for this field is 500.
* @opt_param string pageToken Page token to retrieve a specific page of results
* in the list.
* @opt_param string startHistoryId Required. Returns history records after the
* specified `startHistoryId`. The supplied `startHistoryId` should be obtained
* from the `historyId` of a message, thread, or previous `list` response.
* History IDs increase chronologically but are not contiguous with random gaps
* in between valid IDs. Supplying an invalid or out of date `startHistoryId`
* typically returns an `HTTP 404` error code. A `historyId` is typically valid
* for at least a week, but in some rare circumstances may be valid for only a
* few hours. If you receive an `HTTP 404` error response, your application
* should perform a full sync. If you receive no `nextPageToken` in the
* response, there are no updates to retrieve and you can store the returned
* `historyId` for a future request.
* @return ListHistoryResponse
*/
public function listUsersHistory($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListHistoryResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersHistory::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersHistory');

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\Label;
use PostSMTP\Vendor\Google\Service\Gmail\ListLabelsResponse;
/**
* The "labels" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $labels = $gmailService->labels;
* </code>
*/
class UsersLabels extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Creates a new label. (labels.create)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param Label $postBody
* @param array $optParams Optional parameters.
* @return Label
*/
public function create($userId, \PostSMTP\Vendor\Google\Service\Gmail\Label $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Label::class);
}
/**
* Immediately and permanently deletes the specified label and removes it from
* any messages and threads that it is applied to. (labels.delete)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the label to delete.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified label. (labels.get)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the label to retrieve.
* @param array $optParams Optional parameters.
* @return Label
*/
public function get($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Label::class);
}
/**
* Lists all labels in the user's mailbox. (labels.listUsersLabels)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return ListLabelsResponse
*/
public function listUsersLabels($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListLabelsResponse::class);
}
/**
* Patch the specified label. (labels.patch)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the label to update.
* @param Label $postBody
* @param array $optParams Optional parameters.
* @return Label
*/
public function patch($userId, $id, \PostSMTP\Vendor\Google\Service\Gmail\Label $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('patch', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Label::class);
}
/**
* Updates the specified label. (labels.update)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the label to update.
* @param Label $postBody
* @param array $optParams Optional parameters.
* @return Label
*/
public function update($userId, $id, \PostSMTP\Vendor\Google\Service\Gmail\Label $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('update', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Label::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersLabels::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersLabels');

View File

@@ -0,0 +1,244 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\BatchDeleteMessagesRequest;
use PostSMTP\Vendor\Google\Service\Gmail\BatchModifyMessagesRequest;
use PostSMTP\Vendor\Google\Service\Gmail\ListMessagesResponse;
use PostSMTP\Vendor\Google\Service\Gmail\Message;
use PostSMTP\Vendor\Google\Service\Gmail\ModifyMessageRequest;
/**
* The "messages" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $messages = $gmailService->messages;
* </code>
*/
class UsersMessages extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Deletes many messages by message ID. Provides no guarantees that messages
* were not already deleted or even existed at all. (messages.batchDelete)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param BatchDeleteMessagesRequest $postBody
* @param array $optParams Optional parameters.
*/
public function batchDelete($userId, \PostSMTP\Vendor\Google\Service\Gmail\BatchDeleteMessagesRequest $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('batchDelete', [$params]);
}
/**
* Modifies the labels on the specified messages. (messages.batchModify)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param BatchModifyMessagesRequest $postBody
* @param array $optParams Optional parameters.
*/
public function batchModify($userId, \PostSMTP\Vendor\Google\Service\Gmail\BatchModifyMessagesRequest $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('batchModify', [$params]);
}
/**
* Immediately and permanently deletes the specified message. This operation
* cannot be undone. Prefer `messages.trash` instead. (messages.delete)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the message to delete.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified message. (messages.get)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the message to retrieve. This ID is usually
* retrieved using `messages.list`. The ID is also contained in the result when
* a message is inserted (`messages.insert`) or imported (`messages.import`).
* @param array $optParams Optional parameters.
*
* @opt_param string format The format to return the message in.
* @opt_param string metadataHeaders When given and format is `METADATA`, only
* include headers specified.
* @return Message
*/
public function get($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Imports a message into only this user's mailbox, with standard email delivery
* scanning and classification similar to receiving via SMTP. This method
* doesn't perform SPF checks, so it might not work for some spam messages, such
* as those attempting to perform domain spoofing. This method does not send a
* message. Note: This function doesn't trigger forwarding rules or filters set
* up by the user. (messages.import)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param Message $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and
* only visible in Google Vault to a Vault administrator. Only used for G Suite
* accounts.
* @opt_param string internalDateSource Source for Gmail's internal date of the
* message.
* @opt_param bool neverMarkSpam Ignore the Gmail spam classifier decision and
* never mark this email as SPAM in the mailbox.
* @opt_param bool processForCalendar Process calendar invites in the email and
* add any extracted meetings to the Google Calendar for this user.
* @return Message
*/
public function import($userId, \PostSMTP\Vendor\Google\Service\Gmail\Message $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('import', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Directly inserts a message into only this user's mailbox similar to `IMAP
* APPEND`, bypassing most scanning and classification. Does not send a message.
* (messages.insert)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param Message $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and
* only visible in Google Vault to a Vault administrator. Only used for G Suite
* accounts.
* @opt_param string internalDateSource Source for Gmail's internal date of the
* message.
* @return Message
*/
public function insert($userId, \PostSMTP\Vendor\Google\Service\Gmail\Message $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('insert', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Lists the messages in the user's mailbox. (messages.listUsersMessages)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSpamTrash Include messages from `SPAM` and `TRASH` in
* the results.
* @opt_param string labelIds Only return messages with labels that match all of
* the specified label IDs.
* @opt_param string maxResults Maximum number of messages to return. This field
* defaults to 100. The maximum allowed value for this field is 500.
* @opt_param string pageToken Page token to retrieve a specific page of results
* in the list.
* @opt_param string q Only return messages matching the specified query.
* Supports the same query format as the Gmail search box. For example,
* `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be
* used when accessing the api using the gmail.metadata scope.
* @return ListMessagesResponse
*/
public function listUsersMessages($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListMessagesResponse::class);
}
/**
* Modifies the labels on the specified message. (messages.modify)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the message to modify.
* @param ModifyMessageRequest $postBody
* @param array $optParams Optional parameters.
* @return Message
*/
public function modify($userId, $id, \PostSMTP\Vendor\Google\Service\Gmail\ModifyMessageRequest $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('modify', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc`
* headers. (messages.send)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param Message $postBody
* @param array $optParams Optional parameters.
* @return Message
*/
public function send($userId, \PostSMTP\Vendor\Google\Service\Gmail\Message $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('send', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Moves the specified message to the trash. (messages.trash)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the message to Trash.
* @param array $optParams Optional parameters.
* @return Message
*/
public function trash($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('trash', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
/**
* Removes the specified message from the trash. (messages.untrash)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the message to remove from Trash.
* @param array $optParams Optional parameters.
* @return Message
*/
public function untrash($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('untrash', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Message::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersMessages::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersMessages');

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\MessagePartBody;
/**
* The "attachments" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $attachments = $gmailService->attachments;
* </code>
*/
class UsersMessagesAttachments extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Gets the specified message attachment. (attachments.get)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $messageId The ID of the message containing the attachment.
* @param string $id The ID of the attachment.
* @param array $optParams Optional parameters.
* @return MessagePartBody
*/
public function get($userId, $messageId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'messageId' => $messageId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\MessagePartBody::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersMessagesAttachments::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersMessagesAttachments');

View File

@@ -0,0 +1,191 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\AutoForwarding;
use PostSMTP\Vendor\Google\Service\Gmail\ImapSettings;
use PostSMTP\Vendor\Google\Service\Gmail\LanguageSettings;
use PostSMTP\Vendor\Google\Service\Gmail\PopSettings;
use PostSMTP\Vendor\Google\Service\Gmail\VacationSettings;
/**
* The "settings" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $settings = $gmailService->settings;
* </code>
*/
class UsersSettings extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Gets the auto-forwarding setting for the specified account.
* (settings.getAutoForwarding)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return AutoForwarding
*/
public function getAutoForwarding($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('getAutoForwarding', [$params], \PostSMTP\Vendor\Google\Service\Gmail\AutoForwarding::class);
}
/**
* Gets IMAP settings. (settings.getImap)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return ImapSettings
*/
public function getImap($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('getImap', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ImapSettings::class);
}
/**
* Gets language settings. (settings.getLanguage)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return LanguageSettings
*/
public function getLanguage($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('getLanguage', [$params], \PostSMTP\Vendor\Google\Service\Gmail\LanguageSettings::class);
}
/**
* Gets POP settings. (settings.getPop)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return PopSettings
*/
public function getPop($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('getPop', [$params], \PostSMTP\Vendor\Google\Service\Gmail\PopSettings::class);
}
/**
* Gets vacation responder settings. (settings.getVacation)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return VacationSettings
*/
public function getVacation($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('getVacation', [$params], \PostSMTP\Vendor\Google\Service\Gmail\VacationSettings::class);
}
/**
* Updates the auto-forwarding setting for the specified account. A verified
* forwarding address must be specified when auto-forwarding is enabled. This
* method is only available to service account clients that have been delegated
* domain-wide authority. (settings.updateAutoForwarding)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param AutoForwarding $postBody
* @param array $optParams Optional parameters.
* @return AutoForwarding
*/
public function updateAutoForwarding($userId, \PostSMTP\Vendor\Google\Service\Gmail\AutoForwarding $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('updateAutoForwarding', [$params], \PostSMTP\Vendor\Google\Service\Gmail\AutoForwarding::class);
}
/**
* Updates IMAP settings. (settings.updateImap)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param ImapSettings $postBody
* @param array $optParams Optional parameters.
* @return ImapSettings
*/
public function updateImap($userId, \PostSMTP\Vendor\Google\Service\Gmail\ImapSettings $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('updateImap', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ImapSettings::class);
}
/**
* Updates language settings. If successful, the return object contains the
* `displayLanguage` that was saved for the user, which may differ from the
* value passed into the request. This is because the requested
* `displayLanguage` may not be directly supported by Gmail but have a close
* variant that is, and so the variant may be chosen and saved instead.
* (settings.updateLanguage)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param LanguageSettings $postBody
* @param array $optParams Optional parameters.
* @return LanguageSettings
*/
public function updateLanguage($userId, \PostSMTP\Vendor\Google\Service\Gmail\LanguageSettings $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('updateLanguage', [$params], \PostSMTP\Vendor\Google\Service\Gmail\LanguageSettings::class);
}
/**
* Updates POP settings. (settings.updatePop)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param PopSettings $postBody
* @param array $optParams Optional parameters.
* @return PopSettings
*/
public function updatePop($userId, \PostSMTP\Vendor\Google\Service\Gmail\PopSettings $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('updatePop', [$params], \PostSMTP\Vendor\Google\Service\Gmail\PopSettings::class);
}
/**
* Updates vacation responder settings. (settings.updateVacation)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param VacationSettings $postBody
* @param array $optParams Optional parameters.
* @return VacationSettings
*/
public function updateVacation($userId, \PostSMTP\Vendor\Google\Service\Gmail\VacationSettings $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('updateVacation', [$params], \PostSMTP\Vendor\Google\Service\Gmail\VacationSettings::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettings::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersSettings');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\Delegate;
use PostSMTP\Vendor\Google\Service\Gmail\ListDelegatesResponse;
/**
* The "delegates" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $delegates = $gmailService->delegates;
* </code>
*/
class UsersSettingsDelegates extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Adds a delegate with its verification status set directly to `accepted`,
* without sending any verification email. The delegate user must be a member of
* the same G Suite organization as the delegator user. Gmail imposes
* limitations on the number of delegates and delegators each user in a G Suite
* organization can have. These limits depend on your organization, but in
* general each user can have up to 25 delegates and up to 10 delegators. Note
* that a delegate user must be referred to by their primary email address, and
* not an email alias. Also note that when a new delegate is created, there may
* be up to a one minute delay before the new delegate is available for use.
* This method is only available to service account clients that have been
* delegated domain-wide authority. (delegates.create)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param Delegate $postBody
* @param array $optParams Optional parameters.
* @return Delegate
*/
public function create($userId, \PostSMTP\Vendor\Google\Service\Gmail\Delegate $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Delegate::class);
}
/**
* Removes the specified delegate (which can be of any verification status), and
* revokes any verification that may have been required for using it. Note that
* a delegate user must be referred to by their primary email address, and not
* an email alias. This method is only available to service account clients that
* have been delegated domain-wide authority. (delegates.delete)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $delegateEmail The email address of the user to be removed as a
* delegate.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $delegateEmail, $optParams = [])
{
$params = ['userId' => $userId, 'delegateEmail' => $delegateEmail];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified delegate. Note that a delegate user must be referred to by
* their primary email address, and not an email alias. This method is only
* available to service account clients that have been delegated domain-wide
* authority. (delegates.get)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $delegateEmail The email address of the user whose delegate
* relationship is to be retrieved.
* @param array $optParams Optional parameters.
* @return Delegate
*/
public function get($userId, $delegateEmail, $optParams = [])
{
$params = ['userId' => $userId, 'delegateEmail' => $delegateEmail];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Delegate::class);
}
/**
* Lists the delegates for the specified account. This method is only available
* to service account clients that have been delegated domain-wide authority.
* (delegates.listUsersSettingsDelegates)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return ListDelegatesResponse
*/
public function listUsersSettingsDelegates($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListDelegatesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsDelegates::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersSettingsDelegates');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\Filter;
use PostSMTP\Vendor\Google\Service\Gmail\ListFiltersResponse;
/**
* The "filters" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $filters = $gmailService->filters;
* </code>
*/
class UsersSettingsFilters extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Creates a filter. Note: you can only create a maximum of 1,000 filters.
* (filters.create)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param Filter $postBody
* @param array $optParams Optional parameters.
* @return Filter
*/
public function create($userId, \PostSMTP\Vendor\Google\Service\Gmail\Filter $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Filter::class);
}
/**
* Immediately and permanently deletes the specified filter. (filters.delete)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $id The ID of the filter to be deleted.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets a filter. (filters.get)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $id The ID of the filter to be fetched.
* @param array $optParams Optional parameters.
* @return Filter
*/
public function get($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Filter::class);
}
/**
* Lists the message filters of a Gmail user. (filters.listUsersSettingsFilters)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return ListFiltersResponse
*/
public function listUsersSettingsFilters($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListFiltersResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsFilters::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersSettingsFilters');

View File

@@ -0,0 +1,101 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\ForwardingAddress;
use PostSMTP\Vendor\Google\Service\Gmail\ListForwardingAddressesResponse;
/**
* The "forwardingAddresses" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $forwardingAddresses = $gmailService->forwardingAddresses;
* </code>
*/
class UsersSettingsForwardingAddresses extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Creates a forwarding address. If ownership verification is required, a
* message will be sent to the recipient and the resource's verification status
* will be set to `pending`; otherwise, the resource will be created with
* verification status set to `accepted`. This method is only available to
* service account clients that have been delegated domain-wide authority.
* (forwardingAddresses.create)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param ForwardingAddress $postBody
* @param array $optParams Optional parameters.
* @return ForwardingAddress
*/
public function create($userId, \PostSMTP\Vendor\Google\Service\Gmail\ForwardingAddress $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ForwardingAddress::class);
}
/**
* Deletes the specified forwarding address and revokes any verification that
* may have been required. This method is only available to service account
* clients that have been delegated domain-wide authority.
* (forwardingAddresses.delete)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $forwardingEmail The forwarding address to be deleted.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $forwardingEmail, $optParams = [])
{
$params = ['userId' => $userId, 'forwardingEmail' => $forwardingEmail];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified forwarding address. (forwardingAddresses.get)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $forwardingEmail The forwarding address to be retrieved.
* @param array $optParams Optional parameters.
* @return ForwardingAddress
*/
public function get($userId, $forwardingEmail, $optParams = [])
{
$params = ['userId' => $userId, 'forwardingEmail' => $forwardingEmail];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ForwardingAddress::class);
}
/**
* Lists the forwarding addresses for the specified account.
* (forwardingAddresses.listUsersSettingsForwardingAddresses)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return ListForwardingAddressesResponse
*/
public function listUsersSettingsForwardingAddresses($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListForwardingAddressesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsForwardingAddresses::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersSettingsForwardingAddresses');

View File

@@ -0,0 +1,157 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\ListSendAsResponse;
use PostSMTP\Vendor\Google\Service\Gmail\SendAs;
/**
* The "sendAs" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $sendAs = $gmailService->sendAs;
* </code>
*/
class UsersSettingsSendAs extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail
* will attempt to connect to the SMTP service to validate the configuration
* before creating the alias. If ownership verification is required for the
* alias, a message will be sent to the email address and the resource's
* verification status will be set to `pending`; otherwise, the resource will be
* created with verification status set to `accepted`. If a signature is
* provided, Gmail will sanitize the HTML before saving it with the alias. This
* method is only available to service account clients that have been delegated
* domain-wide authority. (sendAs.create)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param SendAs $postBody
* @param array $optParams Optional parameters.
* @return SendAs
*/
public function create($userId, \PostSMTP\Vendor\Google\Service\Gmail\SendAs $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \PostSMTP\Vendor\Google\Service\Gmail\SendAs::class);
}
/**
* Deletes the specified send-as alias. Revokes any verification that may have
* been required for using it. This method is only available to service account
* clients that have been delegated domain-wide authority. (sendAs.delete)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The send-as alias to be deleted.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $sendAsEmail, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified send-as alias. Fails with an HTTP 404 error if the
* specified address is not a member of the collection. (sendAs.get)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The send-as alias to be retrieved.
* @param array $optParams Optional parameters.
* @return SendAs
*/
public function get($userId, $sendAsEmail, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\SendAs::class);
}
/**
* Lists the send-as aliases for the specified account. The result includes the
* primary send-as address associated with the account as well as any custom
* "from" aliases. (sendAs.listUsersSettingsSendAs)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
* @return ListSendAsResponse
*/
public function listUsersSettingsSendAs($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListSendAsResponse::class);
}
/**
* Patch the specified send-as alias. (sendAs.patch)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The send-as alias to be updated.
* @param SendAs $postBody
* @param array $optParams Optional parameters.
* @return SendAs
*/
public function patch($userId, $sendAsEmail, \PostSMTP\Vendor\Google\Service\Gmail\SendAs $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('patch', [$params], \PostSMTP\Vendor\Google\Service\Gmail\SendAs::class);
}
/**
* Updates a send-as alias. If a signature is provided, Gmail will sanitize the
* HTML before saving it with the alias. Addresses other than the primary
* address for the account can only be updated by service account clients that
* have been delegated domain-wide authority. (sendAs.update)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The send-as alias to be updated.
* @param SendAs $postBody
* @param array $optParams Optional parameters.
* @return SendAs
*/
public function update($userId, $sendAsEmail, \PostSMTP\Vendor\Google\Service\Gmail\SendAs $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('update', [$params], \PostSMTP\Vendor\Google\Service\Gmail\SendAs::class);
}
/**
* Sends a verification email to the specified send-as alias address. The
* verification status must be `pending`. This method is only available to
* service account clients that have been delegated domain-wide authority.
* (sendAs.verify)
*
* @param string $userId User's email address. The special value "me" can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The send-as alias to be verified.
* @param array $optParams Optional parameters.
*/
public function verify($userId, $sendAsEmail, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail];
$params = \array_merge($params, $optParams);
return $this->call('verify', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsSendAs::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersSettingsSendAs');

View File

@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\ListSmimeInfoResponse;
use PostSMTP\Vendor\Google\Service\Gmail\SmimeInfo;
/**
* The "smimeInfo" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $smimeInfo = $gmailService->smimeInfo;
* </code>
*/
class UsersSettingsSendAsSmimeInfo extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Deletes the specified S/MIME config for the specified send-as alias.
* (smimeInfo.delete)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The email address that appears in the "From:"
* header for mail sent using this alias.
* @param string $id The immutable ID for the SmimeInfo.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $sendAsEmail, $id, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified S/MIME config for the specified send-as alias.
* (smimeInfo.get)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The email address that appears in the "From:"
* header for mail sent using this alias.
* @param string $id The immutable ID for the SmimeInfo.
* @param array $optParams Optional parameters.
* @return SmimeInfo
*/
public function get($userId, $sendAsEmail, $id, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\SmimeInfo::class);
}
/**
* Insert (upload) the given S/MIME config for the specified send-as alias. Note
* that pkcs12 format is required for the key. (smimeInfo.insert)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The email address that appears in the "From:"
* header for mail sent using this alias.
* @param SmimeInfo $postBody
* @param array $optParams Optional parameters.
* @return SmimeInfo
*/
public function insert($userId, $sendAsEmail, \PostSMTP\Vendor\Google\Service\Gmail\SmimeInfo $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('insert', [$params], \PostSMTP\Vendor\Google\Service\Gmail\SmimeInfo::class);
}
/**
* Lists S/MIME configs for the specified send-as alias.
* (smimeInfo.listUsersSettingsSendAsSmimeInfo)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The email address that appears in the "From:"
* header for mail sent using this alias.
* @param array $optParams Optional parameters.
* @return ListSmimeInfoResponse
*/
public function listUsersSettingsSendAsSmimeInfo($userId, $sendAsEmail, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListSmimeInfoResponse::class);
}
/**
* Sets the default S/MIME config for the specified send-as alias.
* (smimeInfo.setDefault)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $sendAsEmail The email address that appears in the "From:"
* header for mail sent using this alias.
* @param string $id The immutable ID for the SmimeInfo.
* @param array $optParams Optional parameters.
*/
public function setDefault($userId, $sendAsEmail, $id, $optParams = [])
{
$params = ['userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('setDefault', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersSettingsSendAsSmimeInfo::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersSettingsSendAsSmimeInfo');

View File

@@ -0,0 +1,146 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail\Resource;
use PostSMTP\Vendor\Google\Service\Gmail\ListThreadsResponse;
use PostSMTP\Vendor\Google\Service\Gmail\ModifyThreadRequest;
use PostSMTP\Vendor\Google\Service\Gmail\Thread;
/**
* The "threads" collection of methods.
* Typical usage is:
* <code>
* $gmailService = new Google\Service\Gmail(...);
* $threads = $gmailService->threads;
* </code>
*/
class UsersThreads extends \PostSMTP\Vendor\Google\Service\Resource
{
/**
* Immediately and permanently deletes the specified thread. Any messages that
* belong to the thread are also deleted. This operation cannot be undone.
* Prefer `threads.trash` instead. (threads.delete)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id ID of the Thread to delete.
* @param array $optParams Optional parameters.
*/
public function delete($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets the specified thread. (threads.get)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the thread to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string format The format to return the messages in.
* @opt_param string metadataHeaders When given and format is METADATA, only
* include headers specified.
* @return Thread
*/
public function get($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Thread::class);
}
/**
* Lists the threads in the user's mailbox. (threads.listUsersThreads)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSpamTrash Include threads from `SPAM` and `TRASH` in
* the results.
* @opt_param string labelIds Only return threads with labels that match all of
* the specified label IDs.
* @opt_param string maxResults Maximum number of threads to return. This field
* defaults to 100. The maximum allowed value for this field is 500.
* @opt_param string pageToken Page token to retrieve a specific page of results
* in the list.
* @opt_param string q Only return threads matching the specified query.
* Supports the same query format as the Gmail search box. For example,
* `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be
* used when accessing the api using the gmail.metadata scope.
* @return ListThreadsResponse
*/
public function listUsersThreads($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \PostSMTP\Vendor\Google\Service\Gmail\ListThreadsResponse::class);
}
/**
* Modifies the labels applied to the thread. This applies to all messages in
* the thread. (threads.modify)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the thread to modify.
* @param ModifyThreadRequest $postBody
* @param array $optParams Optional parameters.
* @return Thread
*/
public function modify($userId, $id, \PostSMTP\Vendor\Google\Service\Gmail\ModifyThreadRequest $postBody, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('modify', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Thread::class);
}
/**
* Moves the specified thread to the trash. Any messages that belong to the
* thread are also moved to the trash. (threads.trash)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the thread to Trash.
* @param array $optParams Optional parameters.
* @return Thread
*/
public function trash($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('trash', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Thread::class);
}
/**
* Removes the specified thread from the trash. Any messages that belong to the
* thread are also removed from the trash. (threads.untrash)
*
* @param string $userId The user's email address. The special value `me` can be
* used to indicate the authenticated user.
* @param string $id The ID of the thread to remove from Trash.
* @param array $optParams Optional parameters.
* @return Thread
*/
public function untrash($userId, $id, $optParams = [])
{
$params = ['userId' => $userId, 'id' => $id];
$params = \array_merge($params, $optParams);
return $this->call('untrash', [$params], \PostSMTP\Vendor\Google\Service\Gmail\Thread::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Resource\UsersThreads::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Resource_UsersThreads');

View File

@@ -0,0 +1,184 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class SendAs extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $isDefault;
/**
* @var bool
*/
public $isPrimary;
/**
* @var string
*/
public $replyToAddress;
/**
* @var string
*/
public $sendAsEmail;
/**
* @var string
*/
public $signature;
protected $smtpMsaType = \PostSMTP\Vendor\Google\Service\Gmail\SmtpMsa::class;
protected $smtpMsaDataType = '';
/**
* @var bool
*/
public $treatAsAlias;
/**
* @var string
*/
public $verificationStatus;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
/**
* @return bool
*/
public function getIsDefault()
{
return $this->isDefault;
}
/**
* @param bool
*/
public function setIsPrimary($isPrimary)
{
$this->isPrimary = $isPrimary;
}
/**
* @return bool
*/
public function getIsPrimary()
{
return $this->isPrimary;
}
/**
* @param string
*/
public function setReplyToAddress($replyToAddress)
{
$this->replyToAddress = $replyToAddress;
}
/**
* @return string
*/
public function getReplyToAddress()
{
return $this->replyToAddress;
}
/**
* @param string
*/
public function setSendAsEmail($sendAsEmail)
{
$this->sendAsEmail = $sendAsEmail;
}
/**
* @return string
*/
public function getSendAsEmail()
{
return $this->sendAsEmail;
}
/**
* @param string
*/
public function setSignature($signature)
{
$this->signature = $signature;
}
/**
* @return string
*/
public function getSignature()
{
return $this->signature;
}
/**
* @param SmtpMsa
*/
public function setSmtpMsa(\PostSMTP\Vendor\Google\Service\Gmail\SmtpMsa $smtpMsa)
{
$this->smtpMsa = $smtpMsa;
}
/**
* @return SmtpMsa
*/
public function getSmtpMsa()
{
return $this->smtpMsa;
}
/**
* @param bool
*/
public function setTreatAsAlias($treatAsAlias)
{
$this->treatAsAlias = $treatAsAlias;
}
/**
* @return bool
*/
public function getTreatAsAlias()
{
return $this->treatAsAlias;
}
/**
* @param string
*/
public function setVerificationStatus($verificationStatus)
{
$this->verificationStatus = $verificationStatus;
}
/**
* @return string
*/
public function getVerificationStatus()
{
return $this->verificationStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\SendAs::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_SendAs');

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class SmimeInfo extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $encryptedKeyPassword;
/**
* @var string
*/
public $expiration;
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $isDefault;
/**
* @var string
*/
public $issuerCn;
/**
* @var string
*/
public $pem;
/**
* @var string
*/
public $pkcs12;
/**
* @param string
*/
public function setEncryptedKeyPassword($encryptedKeyPassword)
{
$this->encryptedKeyPassword = $encryptedKeyPassword;
}
/**
* @return string
*/
public function getEncryptedKeyPassword()
{
return $this->encryptedKeyPassword;
}
/**
* @param string
*/
public function setExpiration($expiration)
{
$this->expiration = $expiration;
}
/**
* @return string
*/
public function getExpiration()
{
return $this->expiration;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
/**
* @return bool
*/
public function getIsDefault()
{
return $this->isDefault;
}
/**
* @param string
*/
public function setIssuerCn($issuerCn)
{
$this->issuerCn = $issuerCn;
}
/**
* @return string
*/
public function getIssuerCn()
{
return $this->issuerCn;
}
/**
* @param string
*/
public function setPem($pem)
{
$this->pem = $pem;
}
/**
* @return string
*/
public function getPem()
{
return $this->pem;
}
/**
* @param string
*/
public function setPkcs12($pkcs12)
{
$this->pkcs12 = $pkcs12;
}
/**
* @return string
*/
public function getPkcs12()
{
return $this->pkcs12;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\SmimeInfo::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_SmimeInfo');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class SmtpMsa extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $host;
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $securityMode;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setSecurityMode($securityMode)
{
$this->securityMode = $securityMode;
}
/**
* @return string
*/
public function getSecurityMode()
{
return $this->securityMode;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\SmtpMsa::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_SmtpMsa');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class Thread extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'messages';
/**
* @var string
*/
public $historyId;
/**
* @var string
*/
public $id;
protected $messagesType = \PostSMTP\Vendor\Google\Service\Gmail\Message::class;
protected $messagesDataType = 'array';
/**
* @var string
*/
public $snippet;
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Message[]
*/
public function setMessages($messages)
{
$this->messages = $messages;
}
/**
* @return Message[]
*/
public function getMessages()
{
return $this->messages;
}
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\Thread::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_Thread');

View File

@@ -0,0 +1,168 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class VacationSettings extends \PostSMTP\Vendor\Google\Model
{
/**
* @var bool
*/
public $enableAutoReply;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $responseBodyHtml;
/**
* @var string
*/
public $responseBodyPlainText;
/**
* @var string
*/
public $responseSubject;
/**
* @var bool
*/
public $restrictToContacts;
/**
* @var bool
*/
public $restrictToDomain;
/**
* @var string
*/
public $startTime;
/**
* @param bool
*/
public function setEnableAutoReply($enableAutoReply)
{
$this->enableAutoReply = $enableAutoReply;
}
/**
* @return bool
*/
public function getEnableAutoReply()
{
return $this->enableAutoReply;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setResponseBodyHtml($responseBodyHtml)
{
$this->responseBodyHtml = $responseBodyHtml;
}
/**
* @return string
*/
public function getResponseBodyHtml()
{
return $this->responseBodyHtml;
}
/**
* @param string
*/
public function setResponseBodyPlainText($responseBodyPlainText)
{
$this->responseBodyPlainText = $responseBodyPlainText;
}
/**
* @return string
*/
public function getResponseBodyPlainText()
{
return $this->responseBodyPlainText;
}
/**
* @param string
*/
public function setResponseSubject($responseSubject)
{
$this->responseSubject = $responseSubject;
}
/**
* @return string
*/
public function getResponseSubject()
{
return $this->responseSubject;
}
/**
* @param bool
*/
public function setRestrictToContacts($restrictToContacts)
{
$this->restrictToContacts = $restrictToContacts;
}
/**
* @return bool
*/
public function getRestrictToContacts()
{
return $this->restrictToContacts;
}
/**
* @param bool
*/
public function setRestrictToDomain($restrictToDomain)
{
$this->restrictToDomain = $restrictToDomain;
}
/**
* @return bool
*/
public function getRestrictToDomain()
{
return $this->restrictToDomain;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\VacationSettings::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_VacationSettings');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class WatchRequest extends \PostSMTP\Vendor\Google\Collection
{
protected $collection_key = 'labelIds';
/**
* @var string
*/
public $labelFilterAction;
/**
* @var string[]
*/
public $labelIds;
/**
* @var string
*/
public $topicName;
/**
* @param string
*/
public function setLabelFilterAction($labelFilterAction)
{
$this->labelFilterAction = $labelFilterAction;
}
/**
* @return string
*/
public function getLabelFilterAction()
{
return $this->labelFilterAction;
}
/**
* @param string[]
*/
public function setLabelIds($labelIds)
{
$this->labelIds = $labelIds;
}
/**
* @return string[]
*/
public function getLabelIds()
{
return $this->labelIds;
}
/**
* @param string
*/
public function setTopicName($topicName)
{
$this->topicName = $topicName;
}
/**
* @return string
*/
public function getTopicName()
{
return $this->topicName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\WatchRequest::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_WatchRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Service\Gmail;
class WatchResponse extends \PostSMTP\Vendor\Google\Model
{
/**
* @var string
*/
public $expiration;
/**
* @var string
*/
public $historyId;
/**
* @param string
*/
public function setExpiration($expiration)
{
$this->expiration = $expiration;
}
/**
* @return string
*/
public function getExpiration()
{
return $this->expiration;
}
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\PostSMTP\Vendor\Google\Service\Gmail\WatchResponse::class, 'PostSMTP\\Vendor\\Google_Service_Gmail_WatchResponse');

View File

@@ -0,0 +1,203 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\AccessToken;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory;
use PostSMTP\Vendor\Google\Client;
use PostSMTP\Vendor\GuzzleHttp\ClientInterface;
use PostSMTP\Vendor\GuzzleHttp\Psr7;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Request;
/**
* Wrapper around Google Access Tokens which provides convenience functions
*
*/
class Revoke
{
/**
* @var ClientInterface The http client
*/
private $http;
/**
* Instantiates the class, but does not initiate the login flow, leaving it
* to the discretion of the caller.
*/
public function __construct(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http = null)
{
$this->http = $http;
}
/**
* Revoke an OAuth2 access token or refresh token. This method will revoke the current access
* token, if a token isn't provided.
*
* @param string|array $token The token (access token or a refresh token) that should be revoked.
* @return boolean Returns True if the revocation was successful, otherwise False.
*/
public function revokeToken($token)
{
if (\is_array($token)) {
if (isset($token['refresh_token'])) {
$token = $token['refresh_token'];
} else {
$token = $token['access_token'];
}
}
$body = \PostSMTP\Vendor\GuzzleHttp\Psr7\Utils::streamFor(\http_build_query(array('token' => $token)));
$request = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request('POST', \PostSMTP\Vendor\Google\Client::OAUTH2_REVOKE_URI, ['Cache-Control' => 'no-store', 'Content-Type' => 'application/x-www-form-urlencoded'], $body);
$httpHandler = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build($this->http);
$response = $httpHandler($request);
return $response->getStatusCode() == 200;
}
}

View File

@@ -0,0 +1,246 @@
<?php
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\AccessToken;
use PostSMTP\Vendor\Firebase\JWT\ExpiredException as ExpiredExceptionV3;
use PostSMTP\Vendor\Firebase\JWT\SignatureInvalidException;
use PostSMTP\Vendor\GuzzleHttp\Client;
use PostSMTP\Vendor\GuzzleHttp\ClientInterface;
use PostSMTP\Vendor\phpseclib3\Crypt\PublicKeyLoader;
use PostSMTP\Vendor\phpseclib3\Crypt\RSA\PublicKey;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
use PostSMTP\Vendor\Google\Auth\Cache\MemoryCacheItemPool;
use PostSMTP\Vendor\Google\Exception as GoogleException;
use PostSMTP\Vendor\Stash\Driver\FileSystem;
use PostSMTP\Vendor\Stash\Pool;
use DateTime;
use DomainException;
use Exception;
use PostSMTP\Vendor\ExpiredException;
// Firebase v2
use LogicException;
/**
* Wrapper around Google Access Tokens which provides convenience functions
*
*/
class Verify
{
const FEDERATED_SIGNON_CERT_URL = 'https://www.googleapis.com/oauth2/v3/certs';
const OAUTH2_ISSUER = 'accounts.google.com';
const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com';
/**
* @var ClientInterface The http client
*/
private $http;
/**
* @var CacheItemPoolInterface cache class
*/
private $cache;
/**
* Instantiates the class, but does not initiate the login flow, leaving it
* to the discretion of the caller.
*/
public function __construct(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null, $jwt = null)
{
if (null === $http) {
$http = new \PostSMTP\Vendor\GuzzleHttp\Client();
}
if (null === $cache) {
$cache = new \PostSMTP\Vendor\Google\Auth\Cache\MemoryCacheItemPool();
}
$this->http = $http;
$this->cache = $cache;
$this->jwt = $jwt ?: $this->getJwtService();
}
/**
* Verifies an id token and returns the authenticated apiLoginTicket.
* Throws an exception if the id token is not valid.
* The audience parameter can be used to control which id tokens are
* accepted. By default, the id token must have been issued to this OAuth2 client.
*
* @param string $idToken the ID token in JWT format
* @param string $audience Optional. The audience to verify against JWt "aud"
* @return array the token payload, if successful
*/
public function verifyIdToken($idToken, $audience = null)
{
if (empty($idToken)) {
throw new \LogicException('id_token cannot be null');
}
// set phpseclib constants if applicable
$this->setPhpsecConstants();
// Check signature
$certs = $this->getFederatedSignOnCerts();
foreach ($certs as $cert) {
try {
$payload = $this->jwt->decode($idToken, $this->getPublicKey($cert), array('RS256'));
if (\property_exists($payload, 'aud')) {
if ($audience && $payload->aud != $audience) {
return \false;
}
}
// support HTTP and HTTPS issuers
// @see https://developers.google.com/identity/sign-in/web/backend-auth
$issuers = array(self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS);
if (!isset($payload->iss) || !\in_array($payload->iss, $issuers)) {
return \false;
}
return (array) $payload;
} catch (\PostSMTP\Vendor\ExpiredException $e) {
return \false;
} catch (\PostSMTP\Vendor\Firebase\JWT\ExpiredException $e) {
return \false;
} catch (\PostSMTP\Vendor\Firebase\JWT\SignatureInvalidException $e) {
// continue
} catch (\DomainException $e) {
// continue
}
}
return \false;
}
private function getCache()
{
return $this->cache;
}
/**
* Retrieve and cache a certificates file.
*
* @param $url string location
* @throws \Google\Exception
* @return array certificates
*/
private function retrieveCertsFromLocation($url)
{
// If we're retrieving a local file, just grab it.
if (0 !== \strpos($url, 'http')) {
if (!($file = \file_get_contents($url))) {
throw new \PostSMTP\Vendor\Google\Exception("Failed to retrieve verification certificates: '" . $url . "'.");
}
return \json_decode($file, \true);
}
$response = $this->http->get($url);
if ($response->getStatusCode() == 200) {
return \json_decode((string) $response->getBody(), \true);
}
throw new \PostSMTP\Vendor\Google\Exception(\sprintf('Failed to retrieve verification certificates: "%s".', $response->getBody()->getContents()), $response->getStatusCode());
}
// Gets federated sign-on certificates to use for verifying identity tokens.
// Returns certs as array structure, where keys are key ids, and values
// are PEM encoded certificates.
private function getFederatedSignOnCerts()
{
$certs = null;
if ($cache = $this->getCache()) {
$cacheItem = $cache->getItem('federated_signon_certs_v3');
$certs = $cacheItem->get();
}
if (!$certs) {
$certs = $this->retrieveCertsFromLocation(self::FEDERATED_SIGNON_CERT_URL);
if ($cache) {
$cacheItem->expiresAt(new \DateTime('+1 hour'));
$cacheItem->set($certs);
$cache->save($cacheItem);
}
}
if (!isset($certs['keys'])) {
throw new \PostSMTP\Vendor\Google\AccessToken\InvalidArgumentException('federated sign-on certs expects "keys" to be set');
}
return $certs['keys'];
}
private function getJwtService()
{
$jwtClass = 'JWT';
if (\class_exists('PostSMTP\\Vendor\\Firebase\\JWT\\JWT')) {
$jwtClass = 'PostSMTP\\Vendor\\Firebase\\JWT\\JWT';
}
if (\property_exists($jwtClass, 'leeway') && $jwtClass::$leeway < 1) {
// Ensures JWT leeway is at least 1
// @see https://github.com/google/google-api-php-client/issues/827
$jwtClass::$leeway = 1;
}
return new $jwtClass();
}
private function getPublicKey($cert)
{
$bigIntClass = $this->getBigIntClass();
$modulus = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['n']), 256);
$exponent = new $bigIntClass($this->jwt->urlsafeB64Decode($cert['e']), 256);
$component = array('n' => $modulus, 'e' => $exponent);
if (\class_exists('PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA\\PublicKey')) {
/** @var PublicKey $loader */
$loader = \PostSMTP\Vendor\phpseclib3\Crypt\PublicKeyLoader::load($component);
return $loader->toString('PKCS8');
}
$rsaClass = $this->getRsaClass();
$rsa = new $rsaClass();
$rsa->loadKey($component);
return $rsa->getPublicKey();
}
private function getRsaClass()
{
if (\class_exists('PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA')) {
return 'PostSMTP\\Vendor\\phpseclib3\\Crypt\\RSA';
}
if (\class_exists('PostSMTP\\Vendor\\phpseclib\\Crypt\\RSA')) {
return 'PostSMTP\\Vendor\\phpseclib\\Crypt\\RSA';
}
return 'Crypt_RSA';
}
private function getBigIntClass()
{
if (\class_exists('PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger')) {
return 'PostSMTP\\Vendor\\phpseclib3\\Math\\BigInteger';
}
if (\class_exists('PostSMTP\\Vendor\\phpseclib\\Math\\BigInteger')) {
return 'PostSMTP\\Vendor\\phpseclib\\Math\\BigInteger';
}
return 'Math_BigInteger';
}
private function getOpenSslConstant()
{
if (\class_exists('PostSMTP\\Vendor\\phpseclib3\\Crypt\\AES')) {
return 'phpseclib3\\Crypt\\AES::ENGINE_OPENSSL';
}
if (\class_exists('PostSMTP\\Vendor\\phpseclib\\Crypt\\RSA')) {
return 'PostSMTP\\Vendor\\phpseclib\\Crypt\\RSA::MODE_OPENSSL';
}
if (\class_exists('PostSMTP\\Vendor\\Crypt_RSA')) {
return 'CRYPT_RSA_MODE_OPENSSL';
}
throw new \Exception('Cannot find RSA class');
}
/**
* phpseclib calls "phpinfo" by default, which requires special
* whitelisting in the AppEngine VM environment. This function
* sets constants to bypass the need for phpseclib to check phpinfo
*
* @see phpseclib/Math/BigInteger
* @see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85
*/
private function setPhpsecConstants()
{
if (\filter_var(\getenv('GAE_VM'), \FILTER_VALIDATE_BOOLEAN)) {
if (!\defined('PostSMTP\\Vendor\\MATH_BIGINTEGER_OPENSSL_ENABLED')) {
\define('PostSMTP\\Vendor\\MATH_BIGINTEGER_OPENSSL_ENABLED', \true);
}
if (!\defined('PostSMTP\\Vendor\\CRYPT_RSA_MODE')) {
\define('PostSMTP\\Vendor\\CRYPT_RSA_MODE', \constant($this->getOpenSslConstant()));
}
}
}
}

View File

@@ -0,0 +1,50 @@
<?php
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\AuthHandler;
use PostSMTP\Vendor\GuzzleHttp\Client;
use PostSMTP\Vendor\GuzzleHttp\ClientInterface;
use Exception;
class AuthHandlerFactory
{
/**
* Builds out a default http handler for the installed version of guzzle.
*
* @return Guzzle5AuthHandler|Guzzle6AuthHandler|Guzzle7AuthHandler
* @throws Exception
*/
public static function build($cache = null, array $cacheConfig = [])
{
$guzzleVersion = null;
if (\defined('\\PostSMTP\\Vendor\\GuzzleHttp\\ClientInterface::MAJOR_VERSION')) {
$guzzleVersion = \PostSMTP\Vendor\GuzzleHttp\ClientInterface::MAJOR_VERSION;
} elseif (\defined('\\PostSMTP\\Vendor\\GuzzleHttp\\ClientInterface::VERSION')) {
$guzzleVersion = (int) \substr(\PostSMTP\Vendor\GuzzleHttp\ClientInterface::VERSION, 0, 1);
}
switch ($guzzleVersion) {
case 5:
return new \PostSMTP\Vendor\Google\AuthHandler\Guzzle5AuthHandler($cache, $cacheConfig);
case 6:
return new \PostSMTP\Vendor\Google\AuthHandler\Guzzle6AuthHandler($cache, $cacheConfig);
case 7:
return new \PostSMTP\Vendor\Google\AuthHandler\Guzzle7AuthHandler($cache, $cacheConfig);
default:
throw new \Exception('Version not supported');
}
}
}

View File

@@ -0,0 +1,67 @@
<?php
namespace PostSMTP\Vendor\Google\AuthHandler;
use PostSMTP\Vendor\Google\Auth\CredentialsLoader;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory;
use PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache;
use PostSMTP\Vendor\Google\Auth\Subscriber\AuthTokenSubscriber;
use PostSMTP\Vendor\Google\Auth\Subscriber\ScopedAccessTokenSubscriber;
use PostSMTP\Vendor\Google\Auth\Subscriber\SimpleSubscriber;
use PostSMTP\Vendor\GuzzleHttp\Client;
use PostSMTP\Vendor\GuzzleHttp\ClientInterface;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
/**
*
*/
class Guzzle5AuthHandler
{
protected $cache;
protected $cacheConfig;
public function __construct(\PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null, array $cacheConfig = [])
{
$this->cache = $cache;
$this->cacheConfig = $cacheConfig;
}
public function attachCredentials(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, \PostSMTP\Vendor\Google\Auth\CredentialsLoader $credentials, callable $tokenCallback = null)
{
// use the provided cache
if ($this->cache) {
$credentials = new \PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache($credentials, $this->cacheConfig, $this->cache);
}
return $this->attachCredentialsCache($http, $credentials, $tokenCallback);
}
public function attachCredentialsCache(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, \PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache $credentials, callable $tokenCallback = null)
{
// if we end up needing to make an HTTP request to retrieve credentials, we
// can use our existing one, but we need to throw exceptions so the error
// bubbles up.
$authHttp = $this->createAuthHttp($http);
$authHttpHandler = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build($authHttp);
$subscriber = new \PostSMTP\Vendor\Google\Auth\Subscriber\AuthTokenSubscriber($credentials, $authHttpHandler, $tokenCallback);
$http->setDefaultOption('auth', 'google_auth');
$http->getEmitter()->attach($subscriber);
return $http;
}
public function attachToken(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, array $token, array $scopes)
{
$tokenFunc = function ($scopes) use($token) {
return $token['access_token'];
};
$subscriber = new \PostSMTP\Vendor\Google\Auth\Subscriber\ScopedAccessTokenSubscriber($tokenFunc, $scopes, $this->cacheConfig, $this->cache);
$http->setDefaultOption('auth', 'scoped');
$http->getEmitter()->attach($subscriber);
return $http;
}
public function attachKey(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, $key)
{
$subscriber = new \PostSMTP\Vendor\Google\Auth\Subscriber\SimpleSubscriber(['key' => $key]);
$http->setDefaultOption('auth', 'simple');
$http->getEmitter()->attach($subscriber);
return $http;
}
private function createAuthHttp(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http)
{
return new \PostSMTP\Vendor\GuzzleHttp\Client(['base_url' => $http->getBaseUrl(), 'defaults' => ['exceptions' => \true, 'verify' => $http->getDefaultOption('verify'), 'proxy' => $http->getDefaultOption('proxy')]]);
}
}

View File

@@ -0,0 +1,76 @@
<?php
namespace PostSMTP\Vendor\Google\AuthHandler;
use PostSMTP\Vendor\Google\Auth\CredentialsLoader;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory;
use PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache;
use PostSMTP\Vendor\Google\Auth\Middleware\AuthTokenMiddleware;
use PostSMTP\Vendor\Google\Auth\Middleware\ScopedAccessTokenMiddleware;
use PostSMTP\Vendor\Google\Auth\Middleware\SimpleMiddleware;
use PostSMTP\Vendor\GuzzleHttp\Client;
use PostSMTP\Vendor\GuzzleHttp\ClientInterface;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
/**
* This supports Guzzle 6
*/
class Guzzle6AuthHandler
{
protected $cache;
protected $cacheConfig;
public function __construct(\PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null, array $cacheConfig = [])
{
$this->cache = $cache;
$this->cacheConfig = $cacheConfig;
}
public function attachCredentials(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, \PostSMTP\Vendor\Google\Auth\CredentialsLoader $credentials, callable $tokenCallback = null)
{
// use the provided cache
if ($this->cache) {
$credentials = new \PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache($credentials, $this->cacheConfig, $this->cache);
}
return $this->attachCredentialsCache($http, $credentials, $tokenCallback);
}
public function attachCredentialsCache(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, \PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache $credentials, callable $tokenCallback = null)
{
// if we end up needing to make an HTTP request to retrieve credentials, we
// can use our existing one, but we need to throw exceptions so the error
// bubbles up.
$authHttp = $this->createAuthHttp($http);
$authHttpHandler = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build($authHttp);
$middleware = new \PostSMTP\Vendor\Google\Auth\Middleware\AuthTokenMiddleware($credentials, $authHttpHandler, $tokenCallback);
$config = $http->getConfig();
$config['handler']->remove('google_auth');
$config['handler']->push($middleware, 'google_auth');
$config['auth'] = 'google_auth';
$http = new \PostSMTP\Vendor\GuzzleHttp\Client($config);
return $http;
}
public function attachToken(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, array $token, array $scopes)
{
$tokenFunc = function ($scopes) use($token) {
return $token['access_token'];
};
$middleware = new \PostSMTP\Vendor\Google\Auth\Middleware\ScopedAccessTokenMiddleware($tokenFunc, $scopes, $this->cacheConfig, $this->cache);
$config = $http->getConfig();
$config['handler']->remove('google_auth');
$config['handler']->push($middleware, 'google_auth');
$config['auth'] = 'scoped';
$http = new \PostSMTP\Vendor\GuzzleHttp\Client($config);
return $http;
}
public function attachKey(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http, $key)
{
$middleware = new \PostSMTP\Vendor\Google\Auth\Middleware\SimpleMiddleware(['key' => $key]);
$config = $http->getConfig();
$config['handler']->remove('google_auth');
$config['handler']->push($middleware, 'google_auth');
$config['auth'] = 'simple';
$http = new \PostSMTP\Vendor\GuzzleHttp\Client($config);
return $http;
}
private function createAuthHttp(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $http)
{
return new \PostSMTP\Vendor\GuzzleHttp\Client(['base_uri' => $http->getConfig('base_uri'), 'http_errors' => \true, 'verify' => $http->getConfig('verify'), 'proxy' => $http->getConfig('proxy')]);
}
}

View File

@@ -0,0 +1,25 @@
<?php
/**
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\AuthHandler;
/**
* This supports Guzzle 7
*/
class Guzzle7AuthHandler extends \PostSMTP\Vendor\Google\AuthHandler\Guzzle6AuthHandler
{
}

View File

@@ -0,0 +1,90 @@
<?php
namespace PostSMTP\Vendor\Google;
/**
* Extension to the regular Google\Model that automatically
* exposes the items array for iteration, so you can just
* iterate over the object rather than a reference inside.
*/
class Collection extends \PostSMTP\Vendor\Google\Model implements \Iterator, \Countable
{
protected $collection_key = 'items';
#[\ReturnTypeWillChange]
public function rewind()
{
if (isset($this->{$this->collection_key}) && \is_array($this->{$this->collection_key})) {
\reset($this->{$this->collection_key});
}
}
#[\ReturnTypeWillChange]
public function current()
{
$this->coerceType($this->key());
if (\is_array($this->{$this->collection_key})) {
return \current($this->{$this->collection_key});
}
}
#[\ReturnTypeWillChange]
public function key()
{
if (isset($this->{$this->collection_key}) && \is_array($this->{$this->collection_key})) {
return \key($this->{$this->collection_key});
}
}
#[\ReturnTypeWillChange]
public function next()
{
return \next($this->{$this->collection_key});
}
#[\ReturnTypeWillChange]
public function valid()
{
$key = $this->key();
return $key !== null && $key !== \false;
}
#[\ReturnTypeWillChange]
public function count()
{
if (!isset($this->{$this->collection_key})) {
return 0;
}
return \count($this->{$this->collection_key});
}
public function offsetExists($offset)
{
if (!\is_numeric($offset)) {
return parent::offsetExists($offset);
}
return isset($this->{$this->collection_key}[$offset]);
}
public function offsetGet($offset)
{
if (!\is_numeric($offset)) {
return parent::offsetGet($offset);
}
$this->coerceType($offset);
return $this->{$this->collection_key}[$offset];
}
public function offsetSet($offset, $value)
{
if (!\is_numeric($offset)) {
parent::offsetSet($offset, $value);
}
$this->{$this->collection_key}[$offset] = $value;
}
public function offsetUnset($offset)
{
if (!\is_numeric($offset)) {
parent::offsetUnset($offset);
}
unset($this->{$this->collection_key}[$offset]);
}
private function coerceType($offset)
{
$keyType = $this->keyType($this->collection_key);
if ($keyType && !\is_object($this->{$this->collection_key}[$offset])) {
$this->{$this->collection_key}[$offset] = new $keyType($this->{$this->collection_key}[$offset]);
}
}
}

View File

@@ -0,0 +1,23 @@
<?php
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google;
use Exception as BaseException;
class Exception extends \Exception
{
}

View File

@@ -0,0 +1,191 @@
<?php
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Http;
use PostSMTP\Vendor\Google\Client;
use PostSMTP\Vendor\Google\Http\REST;
use PostSMTP\Vendor\Google\Service\Exception as GoogleServiceException;
use PostSMTP\Vendor\GuzzleHttp\Psr7;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Request;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Response;
use PostSMTP\Vendor\Psr\Http\Message\RequestInterface;
use PostSMTP\Vendor\Psr\Http\Message\ResponseInterface;
/**
* Class to handle batched requests to the Google API service.
*
* Note that calls to `Google\Http\Batch::execute()` do not clear the queued
* requests. To start a new batch, be sure to create a new instance of this
* class.
*/
class Batch
{
const BATCH_PATH = 'batch';
private static $CONNECTION_ESTABLISHED_HEADERS = array("HTTP/1.0 200 Connection established\r\n\r\n", "HTTP/1.1 200 Connection established\r\n\r\n");
/** @var string Multipart Boundary. */
private $boundary;
/** @var array service requests to be executed. */
private $requests = array();
/** @var Client */
private $client;
private $rootUrl;
private $batchPath;
public function __construct(\PostSMTP\Vendor\Google\Client $client, $boundary = \false, $rootUrl = null, $batchPath = null)
{
$this->client = $client;
$this->boundary = $boundary ?: \mt_rand();
$this->rootUrl = \rtrim($rootUrl ?: $this->client->getConfig('base_path'), '/');
$this->batchPath = $batchPath ?: self::BATCH_PATH;
}
public function add(\PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request, $key = \false)
{
if (\false == $key) {
$key = \mt_rand();
}
$this->requests[$key] = $request;
}
public function execute()
{
$body = '';
$classes = array();
$batchHttpTemplate = <<<EOF
--%s
Content-Type: application/http
Content-Transfer-Encoding: binary
MIME-Version: 1.0
Content-ID: %s
%s
%s%s
EOF;
/** @var RequestInterface $req */
foreach ($this->requests as $key => $request) {
$firstLine = \sprintf('%s %s HTTP/%s', $request->getMethod(), $request->getRequestTarget(), $request->getProtocolVersion());
$content = (string) $request->getBody();
$headers = '';
foreach ($request->getHeaders() as $name => $values) {
$headers .= \sprintf("%s:%s\r\n", $name, \implode(', ', $values));
}
$body .= \sprintf($batchHttpTemplate, $this->boundary, $key, $firstLine, $headers, $content ? "\n" . $content : '');
$classes['response-' . $key] = $request->getHeaderLine('X-Php-Expected-Class');
}
$body .= "--{$this->boundary}--";
$body = \trim($body);
$url = $this->rootUrl . '/' . $this->batchPath;
$headers = array('Content-Type' => \sprintf('multipart/mixed; boundary=%s', $this->boundary), 'Content-Length' => \strlen($body));
$request = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request('POST', $url, $headers, $body);
$response = $this->client->execute($request);
return $this->parseResponse($response, $classes);
}
public function parseResponse(\PostSMTP\Vendor\Psr\Http\Message\ResponseInterface $response, $classes = array())
{
$contentType = $response->getHeaderLine('content-type');
$contentType = \explode(';', $contentType);
$boundary = \false;
foreach ($contentType as $part) {
$part = \explode('=', $part, 2);
if (isset($part[0]) && 'boundary' == \trim($part[0])) {
$boundary = $part[1];
}
}
$body = (string) $response->getBody();
if (!empty($body)) {
$body = \str_replace("--{$boundary}--", "--{$boundary}", $body);
$parts = \explode("--{$boundary}", $body);
$responses = array();
$requests = \array_values($this->requests);
foreach ($parts as $i => $part) {
$part = \trim($part);
if (!empty($part)) {
list($rawHeaders, $part) = \explode("\r\n\r\n", $part, 2);
$headers = $this->parseRawHeaders($rawHeaders);
$status = \substr($part, 0, \strpos($part, "\n"));
$status = \explode(" ", $status);
$status = $status[1];
list($partHeaders, $partBody) = $this->parseHttpResponse($part, \false);
$response = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Response($status, $partHeaders, \PostSMTP\Vendor\GuzzleHttp\Psr7\Utils::streamFor($partBody));
// Need content id.
$key = $headers['content-id'];
try {
$response = \PostSMTP\Vendor\Google\Http\REST::decodeHttpResponse($response, $requests[$i - 1]);
} catch (\PostSMTP\Vendor\Google\Service\Exception $e) {
// Store the exception as the response, so successful responses
// can be processed.
$response = $e;
}
$responses[$key] = $response;
}
}
return $responses;
}
return null;
}
private function parseRawHeaders($rawHeaders)
{
$headers = array();
$responseHeaderLines = \explode("\r\n", $rawHeaders);
foreach ($responseHeaderLines as $headerLine) {
if ($headerLine && \strpos($headerLine, ':') !== \false) {
list($header, $value) = \explode(': ', $headerLine, 2);
$header = \strtolower($header);
if (isset($headers[$header])) {
$headers[$header] .= "\n" . $value;
} else {
$headers[$header] = $value;
}
}
}
return $headers;
}
/**
* Used by the IO lib and also the batch processing.
*
* @param $respData
* @param $headerSize
* @return array
*/
private function parseHttpResponse($respData, $headerSize)
{
// check proxy header
foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) {
if (\stripos($respData, $established_header) !== \false) {
// existed, remove it
$respData = \str_ireplace($established_header, '', $respData);
// Subtract the proxy header size unless the cURL bug prior to 7.30.0
// is present which prevented the proxy header size from being taken into
// account.
// @TODO look into this
// if (!$this->needsQuirk()) {
// $headerSize -= strlen($established_header);
// }
break;
}
}
if ($headerSize) {
$responseBody = \substr($respData, $headerSize);
$responseHeaders = \substr($respData, 0, $headerSize);
} else {
$responseSegments = \explode("\r\n\r\n", $respData, 2);
$responseHeaders = $responseSegments[0];
$responseBody = isset($responseSegments[1]) ? $responseSegments[1] : null;
}
$responseHeaders = $this->parseRawHeaders($responseHeaders);
return array($responseHeaders, $responseBody);
}
}

View File

@@ -0,0 +1,280 @@
<?php
/**
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Http;
use PostSMTP\Vendor\Google\Client;
use PostSMTP\Vendor\Google\Http\REST;
use PostSMTP\Vendor\Google\Exception as GoogleException;
use PostSMTP\Vendor\GuzzleHttp\Psr7;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Request;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Uri;
use PostSMTP\Vendor\Psr\Http\Message\RequestInterface;
/**
* Manage large file uploads, which may be media but can be any type
* of sizable data.
*/
class MediaFileUpload
{
const UPLOAD_MEDIA_TYPE = 'media';
const UPLOAD_MULTIPART_TYPE = 'multipart';
const UPLOAD_RESUMABLE_TYPE = 'resumable';
/** @var string $mimeType */
private $mimeType;
/** @var string $data */
private $data;
/** @var bool $resumable */
private $resumable;
/** @var int $chunkSize */
private $chunkSize;
/** @var int $size */
private $size;
/** @var string $resumeUri */
private $resumeUri;
/** @var int $progress */
private $progress;
/** @var Client */
private $client;
/** @var RequestInterface */
private $request;
/** @var string */
private $boundary;
/**
* Result code from last HTTP call
* @var int
*/
private $httpResultCode;
/**
* @param Client $client
* @param RequestInterface $request
* @param string $mimeType
* @param string $data The bytes you want to upload.
* @param bool $resumable
* @param bool $chunkSize File will be uploaded in chunks of this many bytes.
* only used if resumable=True
*/
public function __construct(\PostSMTP\Vendor\Google\Client $client, \PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request, $mimeType, $data, $resumable = \false, $chunkSize = \false)
{
$this->client = $client;
$this->request = $request;
$this->mimeType = $mimeType;
$this->data = $data;
$this->resumable = $resumable;
$this->chunkSize = $chunkSize;
$this->progress = 0;
$this->process();
}
/**
* Set the size of the file that is being uploaded.
* @param $size - int file size in bytes
*/
public function setFileSize($size)
{
$this->size = $size;
}
/**
* Return the progress on the upload
* @return int progress in bytes uploaded.
*/
public function getProgress()
{
return $this->progress;
}
/**
* Send the next part of the file to upload.
* @param string|bool $chunk Optional. The next set of bytes to send. If false will
* use $data passed at construct time.
*/
public function nextChunk($chunk = \false)
{
$resumeUri = $this->getResumeUri();
if (\false == $chunk) {
$chunk = \substr($this->data, $this->progress, $this->chunkSize);
}
$lastBytePos = $this->progress + \strlen($chunk) - 1;
$headers = array('content-range' => "bytes {$this->progress}-{$lastBytePos}/{$this->size}", 'content-length' => \strlen($chunk), 'expect' => '');
$request = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request('PUT', $resumeUri, $headers, \PostSMTP\Vendor\GuzzleHttp\Psr7\Utils::streamFor($chunk));
return $this->makePutRequest($request);
}
/**
* Return the HTTP result code from the last call made.
* @return int code
*/
public function getHttpResultCode()
{
return $this->httpResultCode;
}
/**
* Sends a PUT-Request to google drive and parses the response,
* setting the appropiate variables from the response()
*
* @param RequestInterface $request the Request which will be send
*
* @return false|mixed false when the upload is unfinished or the decoded http response
*
*/
private function makePutRequest(\PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request)
{
$response = $this->client->execute($request);
$this->httpResultCode = $response->getStatusCode();
if (308 == $this->httpResultCode) {
// Track the amount uploaded.
$range = $response->getHeaderLine('range');
if ($range) {
$range_array = \explode('-', $range);
$this->progress = $range_array[1] + 1;
}
// Allow for changing upload URLs.
$location = $response->getHeaderLine('location');
if ($location) {
$this->resumeUri = $location;
}
// No problems, but upload not complete.
return \false;
}
return \PostSMTP\Vendor\Google\Http\REST::decodeHttpResponse($response, $this->request);
}
/**
* Resume a previously unfinished upload
* @param $resumeUri the resume-URI of the unfinished, resumable upload.
*/
public function resume($resumeUri)
{
$this->resumeUri = $resumeUri;
$headers = array('content-range' => "bytes */{$this->size}", 'content-length' => 0);
$httpRequest = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request('PUT', $this->resumeUri, $headers);
return $this->makePutRequest($httpRequest);
}
/**
* @return RequestInterface
* @visible for testing
*/
private function process()
{
$this->transformToUploadUrl();
$request = $this->request;
$postBody = '';
$contentType = \false;
$meta = (string) $request->getBody();
$meta = \is_string($meta) ? \json_decode($meta, \true) : $meta;
$uploadType = $this->getUploadType($meta);
$request = $request->withUri(\PostSMTP\Vendor\GuzzleHttp\Psr7\Uri::withQueryValue($request->getUri(), 'uploadType', $uploadType));
$mimeType = $this->mimeType ?: $request->getHeaderLine('content-type');
if (self::UPLOAD_RESUMABLE_TYPE == $uploadType) {
$contentType = $mimeType;
$postBody = \is_string($meta) ? $meta : \json_encode($meta);
} else {
if (self::UPLOAD_MEDIA_TYPE == $uploadType) {
$contentType = $mimeType;
$postBody = $this->data;
} else {
if (self::UPLOAD_MULTIPART_TYPE == $uploadType) {
// This is a multipart/related upload.
$boundary = $this->boundary ?: \mt_rand();
$boundary = \str_replace('"', '', $boundary);
$contentType = 'multipart/related; boundary=' . $boundary;
$related = "--{$boundary}\r\n";
$related .= "Content-Type: application/json; charset=UTF-8\r\n";
$related .= "\r\n" . \json_encode($meta) . "\r\n";
$related .= "--{$boundary}\r\n";
$related .= "Content-Type: {$mimeType}\r\n";
$related .= "Content-Transfer-Encoding: base64\r\n";
$related .= "\r\n" . \base64_encode($this->data) . "\r\n";
$related .= "--{$boundary}--";
$postBody = $related;
}
}
}
$request = $request->withBody(\PostSMTP\Vendor\GuzzleHttp\Psr7\Utils::streamFor($postBody));
if (isset($contentType) && $contentType) {
$request = $request->withHeader('content-type', $contentType);
}
return $this->request = $request;
}
/**
* Valid upload types:
* - resumable (UPLOAD_RESUMABLE_TYPE)
* - media (UPLOAD_MEDIA_TYPE)
* - multipart (UPLOAD_MULTIPART_TYPE)
* @param $meta
* @return string
* @visible for testing
*/
public function getUploadType($meta)
{
if ($this->resumable) {
return self::UPLOAD_RESUMABLE_TYPE;
}
if (\false == $meta && $this->data) {
return self::UPLOAD_MEDIA_TYPE;
}
return self::UPLOAD_MULTIPART_TYPE;
}
public function getResumeUri()
{
if (null === $this->resumeUri) {
$this->resumeUri = $this->fetchResumeUri();
}
return $this->resumeUri;
}
private function fetchResumeUri()
{
$body = $this->request->getBody();
if ($body) {
$headers = array('content-type' => 'application/json; charset=UTF-8', 'content-length' => $body->getSize(), 'x-upload-content-type' => $this->mimeType, 'x-upload-content-length' => $this->size, 'expect' => '');
foreach ($headers as $key => $value) {
$this->request = $this->request->withHeader($key, $value);
}
}
$response = $this->client->execute($this->request, \false);
$location = $response->getHeaderLine('location');
$code = $response->getStatusCode();
if (200 == $code && \true == $location) {
return $location;
}
$message = $code;
$body = \json_decode((string) $this->request->getBody(), \true);
if (isset($body['error']['errors'])) {
$message .= ': ';
foreach ($body['error']['errors'] as $error) {
$message .= "{$error['domain']}, {$error['message']};";
}
$message = \rtrim($message, ';');
}
$error = "Failed to start the resumable upload (HTTP {$message})";
$this->client->getLogger()->error($error);
throw new \PostSMTP\Vendor\Google\Exception($error);
}
private function transformToUploadUrl()
{
$parts = \parse_url((string) $this->request->getUri());
if (!isset($parts['path'])) {
$parts['path'] = '';
}
$parts['path'] = '/upload' . $parts['path'];
$uri = \PostSMTP\Vendor\GuzzleHttp\Psr7\Uri::fromParts($parts);
$this->request = $this->request->withUri($uri);
}
public function setChunkSize($chunkSize)
{
$this->chunkSize = $chunkSize;
}
public function getRequest()
{
return $this->request;
}
}

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Http;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory;
use PostSMTP\Vendor\Google\Client;
use PostSMTP\Vendor\Google\Task\Runner;
use PostSMTP\Vendor\Google\Service\Exception as GoogleServiceException;
use PostSMTP\Vendor\GuzzleHttp\ClientInterface;
use PostSMTP\Vendor\GuzzleHttp\Exception\RequestException;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Response;
use PostSMTP\Vendor\Psr\Http\Message\RequestInterface;
use PostSMTP\Vendor\Psr\Http\Message\ResponseInterface;
/**
* This class implements the RESTful transport of apiServiceRequest()'s
*/
class REST
{
/**
* Executes a Psr\Http\Message\RequestInterface and (if applicable) automatically retries
* when errors occur.
*
* @param Client $client
* @param RequestInterface $req
* @param string $expectedClass
* @param array $config
* @param array $retryMap
* @return mixed decoded result
* @throws \Google\Service\Exception on server side error (ie: not authenticated,
* invalid or malformed post body, invalid url)
*/
public static function execute(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $client, \PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request, $expectedClass = null, $config = array(), $retryMap = null)
{
$runner = new \PostSMTP\Vendor\Google\Task\Runner($config, \sprintf('%s %s', $request->getMethod(), (string) $request->getUri()), array(\get_class(), 'doExecute'), array($client, $request, $expectedClass));
if (null !== $retryMap) {
$runner->setRetryMap($retryMap);
}
return $runner->run();
}
/**
* Executes a Psr\Http\Message\RequestInterface
*
* @param Client $client
* @param RequestInterface $request
* @param string $expectedClass
* @return array decoded result
* @throws \Google\Service\Exception on server side error (ie: not authenticated,
* invalid or malformed post body, invalid url)
*/
public static function doExecute(\PostSMTP\Vendor\GuzzleHttp\ClientInterface $client, \PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request, $expectedClass = null)
{
try {
$httpHandler = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build($client);
$response = $httpHandler($request);
} catch (\PostSMTP\Vendor\GuzzleHttp\Exception\RequestException $e) {
// if Guzzle throws an exception, catch it and handle the response
if (!$e->hasResponse()) {
throw $e;
}
$response = $e->getResponse();
// specific checking for Guzzle 5: convert to PSR7 response
if ($response instanceof \PostSMTP\Vendor\GuzzleHttp\Message\ResponseInterface) {
$response = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Response($response->getStatusCode(), $response->getHeaders() ?: [], $response->getBody(), $response->getProtocolVersion(), $response->getReasonPhrase());
}
}
return self::decodeHttpResponse($response, $request, $expectedClass);
}
/**
* Decode an HTTP Response.
* @static
* @throws \Google\Service\Exception
* @param RequestInterface $response The http response to be decoded.
* @param ResponseInterface $response
* @param string $expectedClass
* @return mixed|null
*/
public static function decodeHttpResponse(\PostSMTP\Vendor\Psr\Http\Message\ResponseInterface $response, \PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request = null, $expectedClass = null)
{
$code = $response->getStatusCode();
// retry strategy
if (\intVal($code) >= 400) {
// if we errored out, it should be safe to grab the response body
$body = (string) $response->getBody();
// Check if we received errors, and add those to the Exception for convenience
throw new \PostSMTP\Vendor\Google\Service\Exception($body, $code, null, self::getResponseErrors($body));
}
// Ensure we only pull the entire body into memory if the request is not
// of media type
$body = self::decodeBody($response, $request);
if ($expectedClass = self::determineExpectedClass($expectedClass, $request)) {
$json = \json_decode($body, \true);
return new $expectedClass($json);
}
return $response;
}
private static function decodeBody(\PostSMTP\Vendor\Psr\Http\Message\ResponseInterface $response, \PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request = null)
{
if (self::isAltMedia($request)) {
// don't decode the body, it's probably a really long string
return '';
}
return (string) $response->getBody();
}
private static function determineExpectedClass($expectedClass, \PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request = null)
{
// "false" is used to explicitly prevent an expected class from being returned
if (\false === $expectedClass) {
return null;
}
// if we don't have a request, we just use what's passed in
if (null === $request) {
return $expectedClass;
}
// return what we have in the request header if one was not supplied
return $expectedClass ?: $request->getHeaderLine('X-Php-Expected-Class');
}
private static function getResponseErrors($body)
{
$json = \json_decode($body, \true);
if (isset($json['error']['errors'])) {
return $json['error']['errors'];
}
return null;
}
private static function isAltMedia(\PostSMTP\Vendor\Psr\Http\Message\RequestInterface $request = null)
{
if ($request && ($qs = $request->getUri()->getQuery())) {
\parse_str($qs, $query);
if (isset($query['alt']) && $query['alt'] == 'media') {
return \true;
}
}
return \false;
}
}

View File

@@ -0,0 +1,300 @@
<?php
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google;
use PostSMTP\Vendor\Google\Exception as GoogleException;
use ReflectionObject;
use ReflectionProperty;
use stdClass;
/**
* This class defines attributes, valid values, and usage which is generated
* from a given json schema.
* http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5
*
*/
class Model implements \ArrayAccess
{
/**
* If you need to specify a NULL JSON value, use Google\Model::NULL_VALUE
* instead - it will be replaced when converting to JSON with a real null.
*/
const NULL_VALUE = "{}gapi-php-null";
protected $internal_gapi_mappings = array();
protected $modelData = array();
protected $processed = array();
/**
* Polymorphic - accepts a variable number of arguments dependent
* on the type of the model subclass.
*/
public final function __construct()
{
if (\func_num_args() == 1 && \is_array(\func_get_arg(0))) {
// Initialize the model with the array's contents.
$array = \func_get_arg(0);
$this->mapTypes($array);
}
$this->gapiInit();
}
/**
* Getter that handles passthrough access to the data array, and lazy object creation.
* @param string $key Property name.
* @return mixed The value if any, or null.
*/
public function __get($key)
{
$keyType = $this->keyType($key);
$keyDataType = $this->dataType($key);
if ($keyType && !isset($this->processed[$key])) {
if (isset($this->modelData[$key])) {
$val = $this->modelData[$key];
} elseif ($keyDataType == 'array' || $keyDataType == 'map') {
$val = array();
} else {
$val = null;
}
if ($this->isAssociativeArray($val)) {
if ($keyDataType && 'map' == $keyDataType) {
foreach ($val as $arrayKey => $arrayItem) {
$this->modelData[$key][$arrayKey] = new $keyType($arrayItem);
}
} else {
$this->modelData[$key] = new $keyType($val);
}
} else {
if (\is_array($val)) {
$arrayObject = array();
foreach ($val as $arrayIndex => $arrayItem) {
$arrayObject[$arrayIndex] = new $keyType($arrayItem);
}
$this->modelData[$key] = $arrayObject;
}
}
$this->processed[$key] = \true;
}
return isset($this->modelData[$key]) ? $this->modelData[$key] : null;
}
/**
* Initialize this object's properties from an array.
*
* @param array $array Used to seed this object's properties.
* @return void
*/
protected function mapTypes($array)
{
// Hard initialise simple types, lazy load more complex ones.
foreach ($array as $key => $val) {
if ($keyType = $this->keyType($key)) {
$dataType = $this->dataType($key);
if ($dataType == 'array' || $dataType == 'map') {
$this->{$key} = array();
foreach ($val as $itemKey => $itemVal) {
if ($itemVal instanceof $keyType) {
$this->{$key}[$itemKey] = $itemVal;
} else {
$this->{$key}[$itemKey] = new $keyType($itemVal);
}
}
} elseif ($val instanceof $keyType) {
$this->{$key} = $val;
} else {
$this->{$key} = new $keyType($val);
}
unset($array[$key]);
} elseif (\property_exists($this, $key)) {
$this->{$key} = $val;
unset($array[$key]);
} elseif (\property_exists($this, $camelKey = $this->camelCase($key))) {
// This checks if property exists as camelCase, leaving it in array as snake_case
// in case of backwards compatibility issues.
$this->{$camelKey} = $val;
}
}
$this->modelData = $array;
}
/**
* Blank initialiser to be used in subclasses to do post-construction initialisation - this
* avoids the need for subclasses to have to implement the variadics handling in their
* constructors.
*/
protected function gapiInit()
{
return;
}
/**
* Create a simplified object suitable for straightforward
* conversion to JSON. This is relatively expensive
* due to the usage of reflection, but shouldn't be called
* a whole lot, and is the most straightforward way to filter.
*/
public function toSimpleObject()
{
$object = new \stdClass();
// Process all other data.
foreach ($this->modelData as $key => $val) {
$result = $this->getSimpleValue($val);
if ($result !== null) {
$object->{$key} = $this->nullPlaceholderCheck($result);
}
}
// Process all public properties.
$reflect = new \ReflectionObject($this);
$props = $reflect->getProperties(\ReflectionProperty::IS_PUBLIC);
foreach ($props as $member) {
$name = $member->getName();
$result = $this->getSimpleValue($this->{$name});
if ($result !== null) {
$name = $this->getMappedName($name);
$object->{$name} = $this->nullPlaceholderCheck($result);
}
}
return $object;
}
/**
* Handle different types of values, primarily
* other objects and map and array data types.
*/
private function getSimpleValue($value)
{
if ($value instanceof \PostSMTP\Vendor\Google\Model) {
return $value->toSimpleObject();
} else {
if (\is_array($value)) {
$return = array();
foreach ($value as $key => $a_value) {
$a_value = $this->getSimpleValue($a_value);
if ($a_value !== null) {
$key = $this->getMappedName($key);
$return[$key] = $this->nullPlaceholderCheck($a_value);
}
}
return $return;
}
}
return $value;
}
/**
* Check whether the value is the null placeholder and return true null.
*/
private function nullPlaceholderCheck($value)
{
if ($value === self::NULL_VALUE) {
return null;
}
return $value;
}
/**
* If there is an internal name mapping, use that.
*/
private function getMappedName($key)
{
if (isset($this->internal_gapi_mappings, $this->internal_gapi_mappings[$key])) {
$key = $this->internal_gapi_mappings[$key];
}
return $key;
}
/**
* Returns true only if the array is associative.
* @param array $array
* @return bool True if the array is associative.
*/
protected function isAssociativeArray($array)
{
if (!\is_array($array)) {
return \false;
}
$keys = \array_keys($array);
foreach ($keys as $key) {
if (\is_string($key)) {
return \true;
}
}
return \false;
}
/**
* Verify if $obj is an array.
* @throws \Google\Exception Thrown if $obj isn't an array.
* @param array $obj Items that should be validated.
* @param string $method Method expecting an array as an argument.
*/
public function assertIsArray($obj, $method)
{
if ($obj && !\is_array($obj)) {
throw new \PostSMTP\Vendor\Google\Exception("Incorrect parameter type passed to {$method}(). Expected an array.");
}
}
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->{$offset}) || isset($this->modelData[$offset]);
}
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->{$offset}) ? $this->{$offset} : $this->__get($offset);
}
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (\property_exists($this, $offset)) {
$this->{$offset} = $value;
} else {
$this->modelData[$offset] = $value;
$this->processed[$offset] = \true;
}
}
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->modelData[$offset]);
}
protected function keyType($key)
{
$keyType = $key . "Type";
// ensure keyType is a valid class
if (\property_exists($this, $keyType) && \class_exists($this->{$keyType})) {
return $this->{$keyType};
}
}
protected function dataType($key)
{
$dataType = $key . "DataType";
if (\property_exists($this, $dataType)) {
return $this->{$dataType};
}
}
public function __isset($key)
{
return isset($this->modelData[$key]);
}
public function __unset($key)
{
unset($this->modelData[$key]);
}
/**
* Convert a string to camelCase
* @param string $value
* @return string
*/
private function camelCase($value)
{
$value = \ucwords(\str_replace(array('-', '_'), ' ', $value));
$value = \str_replace(' ', '', $value);
$value[0] = \strtolower($value[0]);
return $value;
}
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google;
use PostSMTP\Vendor\Google\Http\Batch;
use TypeError;
class Service
{
public $batchPath;
public $rootUrl;
public $version;
public $servicePath;
public $availableScopes;
public $resource;
private $client;
public function __construct($clientOrConfig = [])
{
if ($clientOrConfig instanceof \PostSMTP\Vendor\Google\Client) {
$this->client = $clientOrConfig;
} elseif (\is_array($clientOrConfig)) {
$this->client = new \PostSMTP\Vendor\Google\Client($clientOrConfig ?: []);
} else {
$errorMessage = 'PostSMTP\\Vendor\\constructor must be array or instance of Google\\Client';
if (\class_exists('TypeError')) {
throw new \TypeError($errorMessage);
}
\trigger_error($errorMessage, \E_USER_ERROR);
}
}
/**
* Return the associated Google\Client class.
* @return \Google\Client
*/
public function getClient()
{
return $this->client;
}
/**
* Create a new HTTP Batch handler for this service
*
* @return Batch
*/
public function createBatch()
{
return new \PostSMTP\Vendor\Google\Http\Batch($this->client, \false, $this->rootUrl, $this->batchPath);
}
}

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Service;
use PostSMTP\Vendor\Google\Exception as GoogleException;
class Exception extends \PostSMTP\Vendor\Google\Exception
{
/**
* Optional list of errors returned in a JSON body of an HTTP error response.
*/
protected $errors = array();
/**
* Override default constructor to add the ability to set $errors and a retry
* map.
*
* @param string $message
* @param int $code
* @param \Exception|null $previous
* @param [{string, string}] errors List of errors returned in an HTTP
* response. Defaults to [].
*/
public function __construct($message, $code = 0, \PostSMTP\Vendor\Google\Service\Exception $previous = null, $errors = array())
{
if (\version_compare(\PHP_VERSION, '5.3.0') >= 0) {
parent::__construct($message, $code, $previous);
} else {
parent::__construct($message, $code);
}
$this->errors = $errors;
}
/**
* An example of the possible errors returned.
*
* {
* "domain": "global",
* "reason": "authError",
* "message": "Invalid Credentials",
* "locationType": "header",
* "location": "Authorization",
* }
*
* @return [{string, string}] List of errors return in an HTTP response or [].
*/
public function getErrors()
{
return $this->errors;
}
}

View File

@@ -0,0 +1,216 @@
<?php
/**
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Service;
use PostSMTP\Vendor\Google\Model;
use PostSMTP\Vendor\Google\Http\MediaFileUpload;
use PostSMTP\Vendor\Google\Exception as GoogleException;
use PostSMTP\Vendor\Google\Utils\UriTemplate;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Request;
/**
* Implements the actual methods/resources of the discovered Google API using magic function
* calling overloading (__call()), which on call will see if the method name (plus.activities.list)
* is available in this service, and if so construct an apiHttpRequest representing it.
*
*/
class Resource
{
// Valid query parameters that work, but don't appear in discovery.
private $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'));
/** @var string $rootUrl */
private $rootUrl;
/** @var \Google\Client $client */
private $client;
/** @var string $serviceName */
private $serviceName;
/** @var string $servicePath */
private $servicePath;
/** @var string $resourceName */
private $resourceName;
/** @var array $methods */
private $methods;
public function __construct($service, $serviceName, $resourceName, $resource)
{
$this->rootUrl = $service->rootUrl;
$this->client = $service->getClient();
$this->servicePath = $service->servicePath;
$this->serviceName = $serviceName;
$this->resourceName = $resourceName;
$this->methods = \is_array($resource) && isset($resource['methods']) ? $resource['methods'] : array($resourceName => $resource);
}
/**
* TODO: This function needs simplifying.
* @param $name
* @param $arguments
* @param $expectedClass - optional, the expected class name
* @return mixed|$expectedClass|ResponseInterface|RequestInterface
* @throws \Google\Exception
*/
public function call($name, $arguments, $expectedClass = null)
{
if (!isset($this->methods[$name])) {
$this->client->getLogger()->error('Service method unknown', array('service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name));
throw new \PostSMTP\Vendor\Google\Exception("Unknown function: " . "{$this->serviceName}->{$this->resourceName}->{$name}()");
}
$method = $this->methods[$name];
$parameters = $arguments[0];
// postBody is a special case since it's not defined in the discovery
// document as parameter, but we abuse the param entry for storing it.
$postBody = null;
if (isset($parameters['postBody'])) {
if ($parameters['postBody'] instanceof \PostSMTP\Vendor\Google\Model) {
// In the cases the post body is an existing object, we want
// to use the smart method to create a simple object for
// for JSONification.
$parameters['postBody'] = $parameters['postBody']->toSimpleObject();
} else {
if (\is_object($parameters['postBody'])) {
// If the post body is another kind of object, we will try and
// wrangle it into a sensible format.
$parameters['postBody'] = $this->convertToArrayAndStripNulls($parameters['postBody']);
}
}
$postBody = (array) $parameters['postBody'];
unset($parameters['postBody']);
}
// TODO: optParams here probably should have been
// handled already - this may well be redundant code.
if (isset($parameters['optParams'])) {
$optParams = $parameters['optParams'];
unset($parameters['optParams']);
$parameters = \array_merge($parameters, $optParams);
}
if (!isset($method['parameters'])) {
$method['parameters'] = array();
}
$method['parameters'] = \array_merge($this->stackParameters, $method['parameters']);
foreach ($parameters as $key => $val) {
if ($key != 'postBody' && !isset($method['parameters'][$key])) {
$this->client->getLogger()->error('Service parameter unknown', array('service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name, 'parameter' => $key));
throw new \PostSMTP\Vendor\Google\Exception("({$name}) unknown parameter: '{$key}'");
}
}
foreach ($method['parameters'] as $paramName => $paramSpec) {
if (isset($paramSpec['required']) && $paramSpec['required'] && !isset($parameters[$paramName])) {
$this->client->getLogger()->error('Service parameter missing', array('service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name, 'parameter' => $paramName));
throw new \PostSMTP\Vendor\Google\Exception("({$name}) missing required param: '{$paramName}'");
}
if (isset($parameters[$paramName])) {
$value = $parameters[$paramName];
$parameters[$paramName] = $paramSpec;
$parameters[$paramName]['value'] = $value;
unset($parameters[$paramName]['required']);
} else {
// Ensure we don't pass nulls.
unset($parameters[$paramName]);
}
}
$this->client->getLogger()->info('Service Call', array('service' => $this->serviceName, 'resource' => $this->resourceName, 'method' => $name, 'arguments' => $parameters));
// build the service uri
$url = $this->createRequestUri($method['path'], $parameters);
// NOTE: because we're creating the request by hand,
// and because the service has a rootUrl property
// the "base_uri" of the Http Client is not accounted for
$request = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request($method['httpMethod'], $url, ['content-type' => 'application/json'], $postBody ? \json_encode($postBody) : '');
// support uploads
if (isset($parameters['data'])) {
$mimeType = isset($parameters['mimeType']) ? $parameters['mimeType']['value'] : 'application/octet-stream';
$data = $parameters['data']['value'];
$upload = new \PostSMTP\Vendor\Google\Http\MediaFileUpload($this->client, $request, $mimeType, $data);
// pull down the modified request
$request = $upload->getRequest();
}
// if this is a media type, we will return the raw response
// rather than using an expected class
if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') {
$expectedClass = null;
}
// if the client is marked for deferring, rather than
// execute the request, return the response
if ($this->client->shouldDefer()) {
// @TODO find a better way to do this
$request = $request->withHeader('X-Php-Expected-Class', $expectedClass);
return $request;
}
return $this->client->execute($request, $expectedClass);
}
protected function convertToArrayAndStripNulls($o)
{
$o = (array) $o;
foreach ($o as $k => $v) {
if ($v === null) {
unset($o[$k]);
} elseif (\is_object($v) || \is_array($v)) {
$o[$k] = $this->convertToArrayAndStripNulls($o[$k]);
}
}
return $o;
}
/**
* Parse/expand request parameters and create a fully qualified
* request uri.
* @static
* @param string $restPath
* @param array $params
* @return string $requestUrl
*/
public function createRequestUri($restPath, $params)
{
// Override the default servicePath address if the $restPath use a /
if ('/' == \substr($restPath, 0, 1)) {
$requestUrl = \substr($restPath, 1);
} else {
$requestUrl = $this->servicePath . $restPath;
}
// code for leading slash
if ($this->rootUrl) {
if ('/' !== \substr($this->rootUrl, -1) && '/' !== \substr($requestUrl, 0, 1)) {
$requestUrl = '/' . $requestUrl;
}
$requestUrl = $this->rootUrl . $requestUrl;
}
$uriTemplateVars = array();
$queryVars = array();
foreach ($params as $paramName => $paramSpec) {
if ($paramSpec['type'] == 'boolean') {
$paramSpec['value'] = $paramSpec['value'] ? 'true' : 'false';
}
if ($paramSpec['location'] == 'path') {
$uriTemplateVars[$paramName] = $paramSpec['value'];
} else {
if ($paramSpec['location'] == 'query') {
if (\is_array($paramSpec['value'])) {
foreach ($paramSpec['value'] as $value) {
$queryVars[] = $paramName . '=' . \rawurlencode(\rawurldecode($value));
}
} else {
$queryVars[] = $paramName . '=' . \rawurlencode(\rawurldecode($paramSpec['value']));
}
}
}
}
if (\count($uriTemplateVars)) {
$uriTemplateParser = new \PostSMTP\Vendor\Google\Utils\UriTemplate();
$requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars);
}
if (\count($queryVars)) {
$requestUrl .= '?' . \implode('&', $queryVars);
}
return $requestUrl;
}
}

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace PostSMTP\Vendor\Google\Task;
use PostSMTP\Vendor\Composer\Script\Event;
use PostSMTP\Vendor\Symfony\Component\Filesystem\Filesystem;
use PostSMTP\Vendor\Symfony\Component\Finder\Finder;
use InvalidArgumentException;
class Composer
{
/**
* @param Event $event Composer event passed in for any script method
* @param Filesystem $filesystem Optional. Used for testing.
*/
public static function cleanup(\PostSMTP\Vendor\Composer\Script\Event $event, \PostSMTP\Vendor\Symfony\Component\Filesystem\Filesystem $filesystem = null)
{
$composer = $event->getComposer();
$extra = $composer->getPackage()->getExtra();
$servicesToKeep = isset($extra['google/apiclient-services']) ? $extra['google/apiclient-services'] : [];
if ($servicesToKeep) {
$vendorDir = $composer->getConfig()->get('vendor-dir');
$serviceDir = \sprintf('%s/google/apiclient-services/src/Google/Service', $vendorDir);
if (!\is_dir($serviceDir)) {
// path for google/apiclient-services >= 0.200.0
$serviceDir = \sprintf('%s/google/apiclient-services/src', $vendorDir);
}
self::verifyServicesToKeep($serviceDir, $servicesToKeep);
$finder = self::getServicesToRemove($serviceDir, $servicesToKeep);
$filesystem = $filesystem ?: new \PostSMTP\Vendor\Symfony\Component\Filesystem\Filesystem();
if (0 !== ($count = \count($finder))) {
$event->getIO()->write(\sprintf('Removing %s google services', $count));
foreach ($finder as $file) {
$realpath = $file->getRealPath();
$filesystem->remove($realpath);
$filesystem->remove($realpath . '.php');
}
}
}
}
/**
* @throws InvalidArgumentException when the service doesn't exist
*/
private static function verifyServicesToKeep($serviceDir, array $servicesToKeep)
{
$finder = (new \PostSMTP\Vendor\Symfony\Component\Finder\Finder())->directories()->depth('== 0');
foreach ($servicesToKeep as $service) {
if (!\preg_match('/^[a-zA-Z0-9]*$/', $service)) {
throw new \InvalidArgumentException(\sprintf('Invalid Google service name "%s"', $service));
}
try {
$finder->in($serviceDir . '/' . $service);
} catch (\InvalidArgumentException $e) {
throw new \InvalidArgumentException(\sprintf('Google service "%s" does not exist or was removed previously', $service));
}
}
}
private static function getServicesToRemove($serviceDir, array $servicesToKeep)
{
// find all files in the current directory
return (new \PostSMTP\Vendor\Symfony\Component\Finder\Finder())->directories()->depth('== 0')->in($serviceDir)->exclude($servicesToKeep);
}
}

View File

@@ -0,0 +1,23 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Task;
use PostSMTP\Vendor\Google\Exception as GoogleException;
class Exception extends \PostSMTP\Vendor\Google\Exception
{
}

View File

@@ -0,0 +1,26 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Task;
/**
* Interface for checking how many times a given task can be retried following
* a failure.
*/
interface Retryable
{
}

View File

@@ -0,0 +1,234 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Task;
use PostSMTP\Vendor\Google\Service\Exception as GoogleServiceException;
use PostSMTP\Vendor\Google\Task\Exception as GoogleTaskException;
/**
* A task runner with exponential backoff support.
*
* @see https://developers.google.com/drive/web/handle-errors#implementing_exponential_backoff
*/
class Runner
{
const TASK_RETRY_NEVER = 0;
const TASK_RETRY_ONCE = 1;
const TASK_RETRY_ALWAYS = -1;
/**
* @var integer $maxDelay The max time (in seconds) to wait before a retry.
*/
private $maxDelay = 60;
/**
* @var integer $delay The previous delay from which the next is calculated.
*/
private $delay = 1;
/**
* @var integer $factor The base number for the exponential back off.
*/
private $factor = 2;
/**
* @var float $jitter A random number between -$jitter and $jitter will be
* added to $factor on each iteration to allow for a better distribution of
* retries.
*/
private $jitter = 0.5;
/**
* @var integer $attempts The number of attempts that have been tried so far.
*/
private $attempts = 0;
/**
* @var integer $maxAttempts The max number of attempts allowed.
*/
private $maxAttempts = 1;
/**
* @var callable $action The task to run and possibly retry.
*/
private $action;
/**
* @var array $arguments The task arguments.
*/
private $arguments;
/**
* @var array $retryMap Map of errors with retry counts.
*/
protected $retryMap = [
'500' => self::TASK_RETRY_ALWAYS,
'503' => self::TASK_RETRY_ALWAYS,
'rateLimitExceeded' => self::TASK_RETRY_ALWAYS,
'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS,
6 => self::TASK_RETRY_ALWAYS,
// CURLE_COULDNT_RESOLVE_HOST
7 => self::TASK_RETRY_ALWAYS,
// CURLE_COULDNT_CONNECT
28 => self::TASK_RETRY_ALWAYS,
// CURLE_OPERATION_TIMEOUTED
35 => self::TASK_RETRY_ALWAYS,
// CURLE_SSL_CONNECT_ERROR
52 => self::TASK_RETRY_ALWAYS,
// CURLE_GOT_NOTHING
'lighthouseError' => self::TASK_RETRY_NEVER,
];
/**
* Creates a new task runner with exponential backoff support.
*
* @param array $config The task runner config
* @param string $name The name of the current task (used for logging)
* @param callable $action The task to run and possibly retry
* @param array $arguments The task arguments
* @throws \Google\Task\Exception when misconfigured
*/
public function __construct($config, $name, $action, array $arguments = array())
{
if (isset($config['initial_delay'])) {
if ($config['initial_delay'] < 0) {
throw new \PostSMTP\Vendor\Google\Task\Exception('Task configuration `initial_delay` must not be negative.');
}
$this->delay = $config['initial_delay'];
}
if (isset($config['max_delay'])) {
if ($config['max_delay'] <= 0) {
throw new \PostSMTP\Vendor\Google\Task\Exception('Task configuration `max_delay` must be greater than 0.');
}
$this->maxDelay = $config['max_delay'];
}
if (isset($config['factor'])) {
if ($config['factor'] <= 0) {
throw new \PostSMTP\Vendor\Google\Task\Exception('Task configuration `factor` must be greater than 0.');
}
$this->factor = $config['factor'];
}
if (isset($config['jitter'])) {
if ($config['jitter'] <= 0) {
throw new \PostSMTP\Vendor\Google\Task\Exception('Task configuration `jitter` must be greater than 0.');
}
$this->jitter = $config['jitter'];
}
if (isset($config['retries'])) {
if ($config['retries'] < 0) {
throw new \PostSMTP\Vendor\Google\Task\Exception('Task configuration `retries` must not be negative.');
}
$this->maxAttempts += $config['retries'];
}
if (!\is_callable($action)) {
throw new \PostSMTP\Vendor\Google\Task\Exception('Task argument `$action` must be a valid callable.');
}
$this->action = $action;
$this->arguments = $arguments;
}
/**
* Checks if a retry can be attempted.
*
* @return boolean
*/
public function canAttempt()
{
return $this->attempts < $this->maxAttempts;
}
/**
* Runs the task and (if applicable) automatically retries when errors occur.
*
* @return mixed
* @throws \Google\Service\Exception on failure when no retries are available.
*/
public function run()
{
while ($this->attempt()) {
try {
return \call_user_func_array($this->action, $this->arguments);
} catch (\PostSMTP\Vendor\Google\Service\Exception $exception) {
$allowedRetries = $this->allowedRetries($exception->getCode(), $exception->getErrors());
if (!$this->canAttempt() || !$allowedRetries) {
throw $exception;
}
if ($allowedRetries > 0) {
$this->maxAttempts = \min($this->maxAttempts, $this->attempts + $allowedRetries);
}
}
}
}
/**
* Runs a task once, if possible. This is useful for bypassing the `run()`
* loop.
*
* NOTE: If this is not the first attempt, this function will sleep in
* accordance to the backoff configurations before running the task.
*
* @return boolean
*/
public function attempt()
{
if (!$this->canAttempt()) {
return \false;
}
if ($this->attempts > 0) {
$this->backOff();
}
$this->attempts++;
return \true;
}
/**
* Sleeps in accordance to the backoff configurations.
*/
private function backOff()
{
$delay = $this->getDelay();
\usleep($delay * 1000000);
}
/**
* Gets the delay (in seconds) for the current backoff period.
*
* @return float
*/
private function getDelay()
{
$jitter = $this->getJitter();
$factor = $this->attempts > 1 ? $this->factor + $jitter : 1 + \abs($jitter);
return $this->delay = \min($this->maxDelay, $this->delay * $factor);
}
/**
* Gets the current jitter (random number between -$this->jitter and
* $this->jitter).
*
* @return float
*/
private function getJitter()
{
return $this->jitter * 2 * \mt_rand() / \mt_getrandmax() - $this->jitter;
}
/**
* Gets the number of times the associated task can be retried.
*
* NOTE: -1 is returned if the task can be retried indefinitely
*
* @return integer
*/
public function allowedRetries($code, $errors = array())
{
if (isset($this->retryMap[$code])) {
return $this->retryMap[$code];
}
if (!empty($errors) && isset($errors[0]['reason'], $this->retryMap[$errors[0]['reason']])) {
return $this->retryMap[$errors[0]['reason']];
}
return 0;
}
public function setRetryMap($retryMap)
{
$this->retryMap = $retryMap;
}
}

View File

@@ -0,0 +1,266 @@
<?php
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Utils;
/**
* Implementation of levels 1-3 of the URI Template spec.
* @see http://tools.ietf.org/html/rfc6570
*/
class UriTemplate
{
const TYPE_MAP = "1";
const TYPE_LIST = "2";
const TYPE_SCALAR = "4";
/**
* @var $operators array
* These are valid at the start of a template block to
* modify the way in which the variables inside are
* processed.
*/
private $operators = array("+" => "reserved", "/" => "segments", "." => "dotprefix", "#" => "fragment", ";" => "semicolon", "?" => "form", "&" => "continuation");
/**
* @var reserved array
* These are the characters which should not be URL encoded in reserved
* strings.
*/
private $reserved = array("=", ",", "!", "@", "|", ":", "/", "?", "#", "[", "]", '$', "&", "'", "(", ")", "*", "+", ";");
private $reservedEncoded = array("%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29", "%2A", "%2B", "%3B");
public function parse($string, array $parameters)
{
return $this->resolveNextSection($string, $parameters);
}
/**
* This function finds the first matching {...} block and
* executes the replacement. It then calls itself to find
* subsequent blocks, if any.
*/
private function resolveNextSection($string, $parameters)
{
$start = \strpos($string, "{");
if ($start === \false) {
return $string;
}
$end = \strpos($string, "}");
if ($end === \false) {
return $string;
}
$string = $this->replace($string, $start, $end, $parameters);
return $this->resolveNextSection($string, $parameters);
}
private function replace($string, $start, $end, $parameters)
{
// We know a data block will have {} round it, so we can strip that.
$data = \substr($string, $start + 1, $end - $start - 1);
// If the first character is one of the reserved operators, it effects
// the processing of the stream.
if (isset($this->operators[$data[0]])) {
$op = $this->operators[$data[0]];
$data = \substr($data, 1);
$prefix = "";
$prefix_on_missing = \false;
switch ($op) {
case "reserved":
// Reserved means certain characters should not be URL encoded
$data = $this->replaceVars($data, $parameters, ",", null, \true);
break;
case "fragment":
// Comma separated with fragment prefix. Bare values only.
$prefix = "#";
$prefix_on_missing = \true;
$data = $this->replaceVars($data, $parameters, ",", null, \true);
break;
case "segments":
// Slash separated data. Bare values only.
$prefix = "/";
$data = $this->replaceVars($data, $parameters, "/");
break;
case "dotprefix":
// Dot separated data. Bare values only.
$prefix = ".";
$prefix_on_missing = \true;
$data = $this->replaceVars($data, $parameters, ".");
break;
case "semicolon":
// Semicolon prefixed and separated. Uses the key name
$prefix = ";";
$data = $this->replaceVars($data, $parameters, ";", "=", \false, \true, \false);
break;
case "form":
// Standard URL format. Uses the key name
$prefix = "?";
$data = $this->replaceVars($data, $parameters, "&", "=");
break;
case "continuation":
// Standard URL, but with leading ampersand. Uses key name.
$prefix = "&";
$data = $this->replaceVars($data, $parameters, "&", "=");
break;
}
// Add the initial prefix character if data is valid.
if ($data || $data !== \false && $prefix_on_missing) {
$data = $prefix . $data;
}
} else {
// If no operator we replace with the defaults.
$data = $this->replaceVars($data, $parameters);
}
// This is chops out the {...} and replaces with the new section.
return \substr($string, 0, $start) . $data . \substr($string, $end + 1);
}
private function replaceVars($section, $parameters, $sep = ",", $combine = null, $reserved = \false, $tag_empty = \false, $combine_on_empty = \true)
{
if (\strpos($section, ",") === \false) {
// If we only have a single value, we can immediately process.
return $this->combine($section, $parameters, $sep, $combine, $reserved, $tag_empty, $combine_on_empty);
} else {
// If we have multiple values, we need to split and loop over them.
// Each is treated individually, then glued together with the
// separator character.
$vars = \explode(",", $section);
return $this->combineList(
$vars,
$sep,
$parameters,
$combine,
$reserved,
\false,
// Never emit empty strings in multi-param replacements
$combine_on_empty
);
}
}
public function combine($key, $parameters, $sep, $combine, $reserved, $tag_empty, $combine_on_empty)
{
$length = \false;
$explode = \false;
$skip_final_combine = \false;
$value = \false;
// Check for length restriction.
if (\strpos($key, ":") !== \false) {
list($key, $length) = \explode(":", $key);
}
// Check for explode parameter.
if ($key[\strlen($key) - 1] == "*") {
$explode = \true;
$key = \substr($key, 0, -1);
$skip_final_combine = \true;
}
// Define the list separator.
$list_sep = $explode ? $sep : ",";
if (isset($parameters[$key])) {
$data_type = $this->getDataType($parameters[$key]);
switch ($data_type) {
case self::TYPE_SCALAR:
$value = $this->getValue($parameters[$key], $length);
break;
case self::TYPE_LIST:
$values = array();
foreach ($parameters[$key] as $pkey => $pvalue) {
$pvalue = $this->getValue($pvalue, $length);
if ($combine && $explode) {
$values[$pkey] = $key . $combine . $pvalue;
} else {
$values[$pkey] = $pvalue;
}
}
$value = \implode($list_sep, $values);
if ($value == '') {
return '';
}
break;
case self::TYPE_MAP:
$values = array();
foreach ($parameters[$key] as $pkey => $pvalue) {
$pvalue = $this->getValue($pvalue, $length);
if ($explode) {
$pkey = $this->getValue($pkey, $length);
$values[] = $pkey . "=" . $pvalue;
// Explode triggers = combine.
} else {
$values[] = $pkey;
$values[] = $pvalue;
}
}
$value = \implode($list_sep, $values);
if ($value == '') {
return \false;
}
break;
}
} else {
if ($tag_empty) {
// If we are just indicating empty values with their key name, return that.
return $key;
} else {
// Otherwise we can skip this variable due to not being defined.
return \false;
}
}
if ($reserved) {
$value = \str_replace($this->reservedEncoded, $this->reserved, $value);
}
// If we do not need to include the key name, we just return the raw
// value.
if (!$combine || $skip_final_combine) {
return $value;
}
// Else we combine the key name: foo=bar, if value is not the empty string.
return $key . ($value != '' || $combine_on_empty ? $combine . $value : '');
}
/**
* Return the type of a passed in value
*/
private function getDataType($data)
{
if (\is_array($data)) {
\reset($data);
if (\key($data) !== 0) {
return self::TYPE_MAP;
}
return self::TYPE_LIST;
}
return self::TYPE_SCALAR;
}
/**
* Utility function that merges multiple combine calls
* for multi-key templates.
*/
private function combineList($vars, $sep, $parameters, $combine, $reserved, $tag_empty, $combine_on_empty)
{
$ret = array();
foreach ($vars as $var) {
$response = $this->combine($var, $parameters, $sep, $combine, $reserved, $tag_empty, $combine_on_empty);
if ($response === \false) {
continue;
}
$ret[] = $response;
}
return \implode($sep, $ret);
}
/**
* Utility function to encode and trim values
*/
private function getValue($value, $length)
{
if ($length) {
$value = \substr($value, 0, $length);
}
$value = \rawurlencode($value);
return $value;
}
}

View File

@@ -0,0 +1,82 @@
<?php
namespace PostSMTP\Vendor;
if (\class_exists('PostSMTP\\Vendor\\Google_Client', \false)) {
// Prevent error with preloading in PHP 7.4
// @see https://github.com/googleapis/google-api-php-client/issues/1976
return;
}
$classMap = ['PostSMTP\\Vendor\\Google\\Client' => 'Google_Client', 'PostSMTP\\Vendor\\Google\\Service' => 'Google_Service', 'PostSMTP\\Vendor\\Google\\AccessToken\\Revoke' => 'Google_AccessToken_Revoke', 'PostSMTP\\Vendor\\Google\\AccessToken\\Verify' => 'Google_AccessToken_Verify', 'PostSMTP\\Vendor\\Google\\Model' => 'Google_Model', 'PostSMTP\\Vendor\\Google\\Utils\\UriTemplate' => 'Google_Utils_UriTemplate', 'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle6AuthHandler' => 'Google_AuthHandler_Guzzle6AuthHandler', 'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle7AuthHandler' => 'Google_AuthHandler_Guzzle7AuthHandler', 'PostSMTP\\Vendor\\Google\\AuthHandler\\Guzzle5AuthHandler' => 'Google_AuthHandler_Guzzle5AuthHandler', 'PostSMTP\\Vendor\\Google\\AuthHandler\\AuthHandlerFactory' => 'Google_AuthHandler_AuthHandlerFactory', 'PostSMTP\\Vendor\\Google\\Http\\Batch' => 'Google_Http_Batch', 'PostSMTP\\Vendor\\Google\\Http\\MediaFileUpload' => 'Google_Http_MediaFileUpload', 'PostSMTP\\Vendor\\Google\\Http\\REST' => 'Google_Http_REST', 'PostSMTP\\Vendor\\Google\\Task\\Retryable' => 'Google_Task_Retryable', 'PostSMTP\\Vendor\\Google\\Task\\Exception' => 'Google_Task_Exception', 'PostSMTP\\Vendor\\Google\\Task\\Runner' => 'Google_Task_Runner', 'PostSMTP\\Vendor\\Google\\Collection' => 'Google_Collection', 'PostSMTP\\Vendor\\Google\\Service\\Exception' => 'Google_Service_Exception', 'PostSMTP\\Vendor\\Google\\Service\\Resource' => 'Google_Service_Resource', 'PostSMTP\\Vendor\\Google\\Exception' => 'Google_Exception'];
foreach ($classMap as $class => $alias) {
\class_alias($class, 'PostSMTP\\Vendor\\' . $alias);
}
/**
* This class needs to be defined explicitly as scripts must be recognized by
* the autoloader.
*/
class Google_Task_Composer extends \PostSMTP\Vendor\Google\Task\Composer
{
}
if (\false) {
class Google_AccessToken_Revoke extends \PostSMTP\Vendor\Google\AccessToken\Revoke
{
}
class Google_AccessToken_Verify extends \PostSMTP\Vendor\Google\AccessToken\Verify
{
}
class Google_AuthHandler_AuthHandlerFactory extends \PostSMTP\Vendor\Google\AuthHandler\AuthHandlerFactory
{
}
class Google_AuthHandler_Guzzle5AuthHandler extends \PostSMTP\Vendor\Google\AuthHandler\Guzzle5AuthHandler
{
}
class Google_AuthHandler_Guzzle6AuthHandler extends \PostSMTP\Vendor\Google\AuthHandler\Guzzle6AuthHandler
{
}
class Google_AuthHandler_Guzzle7AuthHandler extends \PostSMTP\Vendor\Google\AuthHandler\Guzzle7AuthHandler
{
}
class Google_Client extends \PostSMTP\Vendor\Google\Client
{
}
class Google_Collection extends \PostSMTP\Vendor\Google\Collection
{
}
class Google_Exception extends \PostSMTP\Vendor\Google\Exception
{
}
class Google_Http_Batch extends \PostSMTP\Vendor\Google\Http\Batch
{
}
class Google_Http_MediaFileUpload extends \PostSMTP\Vendor\Google\Http\MediaFileUpload
{
}
class Google_Http_REST extends \PostSMTP\Vendor\Google\Http\REST
{
}
class Google_Model extends \PostSMTP\Vendor\Google\Model
{
}
class Google_Service extends \PostSMTP\Vendor\Google\Service
{
}
class Google_Service_Exception extends \PostSMTP\Vendor\Google\Service\Exception
{
}
class Google_Service_Resource extends \PostSMTP\Vendor\Google\Service\Resource
{
}
class Google_Task_Exception extends \PostSMTP\Vendor\Google\Task\Exception
{
}
interface Google_Task_Retryable extends \PostSMTP\Vendor\Google\Task\Retryable
{
}
class Google_Task_Runner extends \PostSMTP\Vendor\Google\Task\Runner
{
}
class Google_Utils_UriTemplate extends \PostSMTP\Vendor\Google\Utils\UriTemplate
{
}
}

View File

@@ -0,0 +1,203 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -0,0 +1,35 @@
<?php
namespace PostSMTP\Vendor;
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
function oauth2client_php_autoload($className)
{
$classPath = \explode('_', $className);
if ($classPath[0] != 'Google') {
return;
}
if (\count($classPath) > 3) {
// Maximum class file path depth in this project is 3.
$classPath = \array_slice($classPath, 0, 3);
}
$filePath = \dirname(__FILE__) . '/src/' . \implode('/', $classPath) . '.php';
if (\file_exists($filePath)) {
require_once $filePath;
}
}
\spl_autoload_register('oauth2client_php_autoload');

View File

@@ -0,0 +1,388 @@
<?php
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth;
use DateTime;
use Exception;
use PostSMTP\Vendor\Firebase\JWT\ExpiredException;
use PostSMTP\Vendor\Firebase\JWT\JWT;
use PostSMTP\Vendor\Firebase\JWT\SignatureInvalidException;
use PostSMTP\Vendor\Google\Auth\Cache\MemoryCacheItemPool;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Request;
use PostSMTP\Vendor\GuzzleHttp\Psr7\Utils;
use InvalidArgumentException;
use PostSMTP\Vendor\phpseclib\Crypt\RSA;
use PostSMTP\Vendor\phpseclib\Math\BigInteger;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
use RuntimeException;
use PostSMTP\Vendor\SimpleJWT\InvalidTokenException;
use PostSMTP\Vendor\SimpleJWT\JWT as SimpleJWT;
use PostSMTP\Vendor\SimpleJWT\Keys\KeyFactory;
use PostSMTP\Vendor\SimpleJWT\Keys\KeySet;
use UnexpectedValueException;
/**
* Wrapper around Google Access Tokens which provides convenience functions.
*
* @experimental
*/
class AccessToken
{
const FEDERATED_SIGNON_CERT_URL = 'https://www.googleapis.com/oauth2/v3/certs';
const IAP_CERT_URL = 'https://www.gstatic.com/iap/verify/public_key-jwk';
const IAP_ISSUER = 'https://cloud.google.com/iap';
const OAUTH2_ISSUER = 'accounts.google.com';
const OAUTH2_ISSUER_HTTPS = 'https://accounts.google.com';
const OAUTH2_REVOKE_URI = 'https://oauth2.googleapis.com/revoke';
/**
* @var callable
*/
private $httpHandler;
/**
* @var CacheItemPoolInterface
*/
private $cache;
/**
* @param callable $httpHandler [optional] An HTTP Handler to deliver PSR-7 requests.
* @param CacheItemPoolInterface $cache [optional] A PSR-6 compatible cache implementation.
*/
public function __construct(callable $httpHandler = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null)
{
$this->httpHandler = $httpHandler ?: \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build(\PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache::getHttpClient());
$this->cache = $cache ?: new \PostSMTP\Vendor\Google\Auth\Cache\MemoryCacheItemPool();
}
/**
* Verifies an id token and returns the authenticated apiLoginTicket.
* Throws an exception if the id token is not valid.
* The audience parameter can be used to control which id tokens are
* accepted. By default, the id token must have been issued to this OAuth2 client.
*
* @param string $token The JSON Web Token to be verified.
* @param array $options [optional] Configuration options.
* @param string $options.audience The indended recipient of the token.
* @param string $options.issuer The intended issuer of the token.
* @param string $options.cacheKey The cache key of the cached certs. Defaults to
* the sha1 of $certsLocation if provided, otherwise is set to
* "federated_signon_certs_v3".
* @param string $options.certsLocation The location (remote or local) from which
* to retrieve certificates, if not cached. This value should only be
* provided in limited circumstances in which you are sure of the
* behavior.
* @param bool $options.throwException Whether the function should throw an
* exception if the verification fails. This is useful for
* determining the reason verification failed.
* @return array|bool the token payload, if successful, or false if not.
* @throws InvalidArgumentException If certs could not be retrieved from a local file.
* @throws InvalidArgumentException If received certs are in an invalid format.
* @throws InvalidArgumentException If the cert alg is not supported.
* @throws RuntimeException If certs could not be retrieved from a remote location.
* @throws UnexpectedValueException If the token issuer does not match.
* @throws UnexpectedValueException If the token audience does not match.
*/
public function verify($token, array $options = [])
{
$audience = isset($options['audience']) ? $options['audience'] : null;
$issuer = isset($options['issuer']) ? $options['issuer'] : null;
$certsLocation = isset($options['certsLocation']) ? $options['certsLocation'] : self::FEDERATED_SIGNON_CERT_URL;
$cacheKey = isset($options['cacheKey']) ? $options['cacheKey'] : $this->getCacheKeyFromCertLocation($certsLocation);
$throwException = isset($options['throwException']) ? $options['throwException'] : \false;
// for backwards compatibility
// Check signature against each available cert.
$certs = $this->getCerts($certsLocation, $cacheKey, $options);
$alg = $this->determineAlg($certs);
if (!\in_array($alg, ['RS256', 'ES256'])) {
throw new \InvalidArgumentException('unrecognized "alg" in certs, expected ES256 or RS256');
}
try {
if ($alg == 'RS256') {
return $this->verifyRs256($token, $certs, $audience, $issuer);
}
return $this->verifyEs256($token, $certs, $audience, $issuer);
} catch (\PostSMTP\Vendor\Firebase\JWT\ExpiredException $e) {
// firebase/php-jwt 3+
} catch (\PostSMTP\Vendor\ExpiredException $e) {
// firebase/php-jwt 2
} catch (\PostSMTP\Vendor\Firebase\JWT\SignatureInvalidException $e) {
// firebase/php-jwt 3+
} catch (\PostSMTP\Vendor\SignatureInvalidException $e) {
// firebase/php-jwt 2
} catch (\PostSMTP\Vendor\SimpleJWT\InvalidTokenException $e) {
// simplejwt
} catch (\PostSMTP\Vendor\Google\Auth\DomainException $e) {
} catch (\InvalidArgumentException $e) {
} catch (\UnexpectedValueException $e) {
}
if ($throwException) {
throw $e;
}
return \false;
}
/**
* Identifies the expected algorithm to verify by looking at the "alg" key
* of the provided certs.
*
* @param array $certs Certificate array according to the JWK spec (see
* https://tools.ietf.org/html/rfc7517).
* @return string The expected algorithm, such as "ES256" or "RS256".
*/
private function determineAlg(array $certs)
{
$alg = null;
foreach ($certs as $cert) {
if (empty($cert['alg'])) {
throw new \InvalidArgumentException('certs expects "alg" to be set');
}
$alg = $alg ?: $cert['alg'];
if ($alg != $cert['alg']) {
throw new \InvalidArgumentException('More than one alg detected in certs');
}
}
return $alg;
}
/**
* Verifies an ES256-signed JWT.
*
* @param string $token The JSON Web Token to be verified.
* @param array $certs Certificate array according to the JWK spec (see
* https://tools.ietf.org/html/rfc7517).
* @param string|null $audience If set, returns false if the provided
* audience does not match the "aud" claim on the JWT.
* @param string|null $issuer If set, returns false if the provided
* issuer does not match the "iss" claim on the JWT.
* @return array|bool the token payload, if successful, or false if not.
*/
private function verifyEs256($token, array $certs, $audience = null, $issuer = null)
{
$this->checkSimpleJwt();
$jwkset = new \PostSMTP\Vendor\SimpleJWT\Keys\KeySet();
foreach ($certs as $cert) {
$jwkset->add(\PostSMTP\Vendor\SimpleJWT\Keys\KeyFactory::create($cert, 'php'));
}
// Validate the signature using the key set and ES256 algorithm.
$jwt = $this->callSimpleJwtDecode([$token, $jwkset, 'ES256']);
$payload = $jwt->getClaims();
if (isset($payload['aud'])) {
if ($audience && $payload['aud'] != $audience) {
throw new \UnexpectedValueException('Audience does not match');
}
}
// @see https://cloud.google.com/iap/docs/signed-headers-howto#verifying_the_jwt_payload
$issuer = $issuer ?: self::IAP_ISSUER;
if (!isset($payload['iss']) || $payload['iss'] !== $issuer) {
throw new \UnexpectedValueException('Issuer does not match');
}
return $payload;
}
/**
* Verifies an RS256-signed JWT.
*
* @param string $token The JSON Web Token to be verified.
* @param array $certs Certificate array according to the JWK spec (see
* https://tools.ietf.org/html/rfc7517).
* @param string|null $audience If set, returns false if the provided
* audience does not match the "aud" claim on the JWT.
* @param string|null $issuer If set, returns false if the provided
* issuer does not match the "iss" claim on the JWT.
* @return array|bool the token payload, if successful, or false if not.
*/
private function verifyRs256($token, array $certs, $audience = null, $issuer = null)
{
$this->checkAndInitializePhpsec();
$keys = [];
foreach ($certs as $cert) {
if (empty($cert['kid'])) {
throw new \InvalidArgumentException('certs expects "kid" to be set');
}
if (empty($cert['n']) || empty($cert['e'])) {
throw new \InvalidArgumentException('RSA certs expects "n" and "e" to be set');
}
$rsa = new \PostSMTP\Vendor\phpseclib\Crypt\RSA();
$rsa->loadKey(['n' => new \PostSMTP\Vendor\phpseclib\Math\BigInteger($this->callJwtStatic('urlsafeB64Decode', [$cert['n']]), 256), 'e' => new \PostSMTP\Vendor\phpseclib\Math\BigInteger($this->callJwtStatic('urlsafeB64Decode', [$cert['e']]), 256)]);
// create an array of key IDs to certs for the JWT library
$keys[$cert['kid']] = $rsa->getPublicKey();
}
$payload = $this->callJwtStatic('decode', [$token, $keys, ['RS256']]);
if (\property_exists($payload, 'aud')) {
if ($audience && $payload->aud != $audience) {
throw new \UnexpectedValueException('Audience does not match');
}
}
// support HTTP and HTTPS issuers
// @see https://developers.google.com/identity/sign-in/web/backend-auth
$issuers = $issuer ? [$issuer] : [self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS];
if (!isset($payload->iss) || !\in_array($payload->iss, $issuers)) {
throw new \UnexpectedValueException('Issuer does not match');
}
return (array) $payload;
}
/**
* Revoke an OAuth2 access token or refresh token. This method will revoke the current access
* token, if a token isn't provided.
*
* @param string|array $token The token (access token or a refresh token) that should be revoked.
* @param array $options [optional] Configuration options.
* @return bool Returns True if the revocation was successful, otherwise False.
*/
public function revoke($token, array $options = [])
{
if (\is_array($token)) {
if (isset($token['refresh_token'])) {
$token = $token['refresh_token'];
} else {
$token = $token['access_token'];
}
}
$body = \PostSMTP\Vendor\GuzzleHttp\Psr7\Utils::streamFor(\http_build_query(['token' => $token]));
$request = new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request('POST', self::OAUTH2_REVOKE_URI, ['Cache-Control' => 'no-store', 'Content-Type' => 'application/x-www-form-urlencoded'], $body);
$httpHandler = $this->httpHandler;
$response = $httpHandler($request, $options);
return $response->getStatusCode() == 200;
}
/**
* Gets federated sign-on certificates to use for verifying identity tokens.
* Returns certs as array structure, where keys are key ids, and values
* are PEM encoded certificates.
*
* @param string $location The location from which to retrieve certs.
* @param string $cacheKey The key under which to cache the retrieved certs.
* @param array $options [optional] Configuration options.
* @return array
* @throws InvalidArgumentException If received certs are in an invalid format.
*/
private function getCerts($location, $cacheKey, array $options = [])
{
$cacheItem = $this->cache->getItem($cacheKey);
$certs = $cacheItem ? $cacheItem->get() : null;
$gotNewCerts = \false;
if (!$certs) {
$certs = $this->retrieveCertsFromLocation($location, $options);
$gotNewCerts = \true;
}
if (!isset($certs['keys'])) {
if ($location !== self::IAP_CERT_URL) {
throw new \InvalidArgumentException('federated sign-on certs expects "keys" to be set');
}
throw new \InvalidArgumentException('certs expects "keys" to be set');
}
// Push caching off until after verifying certs are in a valid format.
// Don't want to cache bad data.
if ($gotNewCerts) {
$cacheItem->expiresAt(new \DateTime('+1 hour'));
$cacheItem->set($certs);
$this->cache->save($cacheItem);
}
return $certs['keys'];
}
/**
* Retrieve and cache a certificates file.
*
* @param $url string location
* @param array $options [optional] Configuration options.
* @return array certificates
* @throws InvalidArgumentException If certs could not be retrieved from a local file.
* @throws RuntimeException If certs could not be retrieved from a remote location.
*/
private function retrieveCertsFromLocation($url, array $options = [])
{
// If we're retrieving a local file, just grab it.
if (\strpos($url, 'http') !== 0) {
if (!\file_exists($url)) {
throw new \InvalidArgumentException(\sprintf('Failed to retrieve verification certificates from path: %s.', $url));
}
return \json_decode(\file_get_contents($url), \true);
}
$httpHandler = $this->httpHandler;
$response = $httpHandler(new \PostSMTP\Vendor\GuzzleHttp\Psr7\Request('GET', $url), $options);
if ($response->getStatusCode() == 200) {
return \json_decode((string) $response->getBody(), \true);
}
throw new \RuntimeException(\sprintf('Failed to retrieve verification certificates: "%s".', $response->getBody()->getContents()), $response->getStatusCode());
}
private function checkAndInitializePhpsec()
{
// @codeCoverageIgnoreStart
if (!\class_exists('PostSMTP\\Vendor\\phpseclib\\Crypt\\RSA')) {
throw new \RuntimeException('Please require phpseclib/phpseclib v2 to use this utility.');
}
// @codeCoverageIgnoreEnd
$this->setPhpsecConstants();
}
private function checkSimpleJwt()
{
// @codeCoverageIgnoreStart
if (!\class_exists('PostSMTP\\Vendor\\SimpleJWT\\JWT')) {
throw new \RuntimeException('Please require kelvinmo/simplejwt ^0.2 to use this utility.');
}
// @codeCoverageIgnoreEnd
}
/**
* phpseclib calls "phpinfo" by default, which requires special
* whitelisting in the AppEngine VM environment. This function
* sets constants to bypass the need for phpseclib to check phpinfo
*
* @see phpseclib/Math/BigInteger
* @see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85
* @codeCoverageIgnore
*/
private function setPhpsecConstants()
{
if (\filter_var(\getenv('GAE_VM'), \FILTER_VALIDATE_BOOLEAN)) {
if (!\defined('PostSMTP\\Vendor\\MATH_BIGINTEGER_OPENSSL_ENABLED')) {
\define('PostSMTP\\Vendor\\MATH_BIGINTEGER_OPENSSL_ENABLED', \true);
}
if (!\defined('PostSMTP\\Vendor\\CRYPT_RSA_MODE')) {
\define('PostSMTP\\Vendor\\CRYPT_RSA_MODE', \PostSMTP\Vendor\phpseclib\Crypt\RSA::MODE_OPENSSL);
}
}
}
/**
* Provide a hook to mock calls to the JWT static methods.
*
* @param string $method
* @param array $args
* @return mixed
*/
protected function callJwtStatic($method, array $args = [])
{
$class = 'PostSMTP\\Vendor\\Firebase\\JWT\\JWT';
return \call_user_func_array([$class, $method], $args);
}
/**
* Provide a hook to mock calls to the JWT static methods.
*
* @param array $args
* @return mixed
*/
protected function callSimpleJwtDecode(array $args = [])
{
return \call_user_func_array(['SimpleJWT\\JWT', 'decode'], $args);
}
/**
* Generate a cache key based on the cert location using sha1 with the
* exception of using "federated_signon_certs_v3" to preserve BC.
*
* @param string $certsLocation
* @return string
*/
private function getCacheKeyFromCertLocation($certsLocation)
{
$key = $certsLocation === self::FEDERATED_SIGNON_CERT_URL ? 'federated_signon_certs_v3' : \sha1($certsLocation);
return 'google_auth_certs_cache|' . $key;
}
}

View File

@@ -0,0 +1,271 @@
<?php
/*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth;
use DomainException;
use PostSMTP\Vendor\Google\Auth\Credentials\AppIdentityCredentials;
use PostSMTP\Vendor\Google\Auth\Credentials\GCECredentials;
use PostSMTP\Vendor\Google\Auth\Credentials\ServiceAccountCredentials;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache;
use PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory;
use PostSMTP\Vendor\Google\Auth\Middleware\AuthTokenMiddleware;
use PostSMTP\Vendor\Google\Auth\Middleware\ProxyAuthTokenMiddleware;
use PostSMTP\Vendor\Google\Auth\Subscriber\AuthTokenSubscriber;
use PostSMTP\Vendor\GuzzleHttp\Client;
use InvalidArgumentException;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
/**
* ApplicationDefaultCredentials obtains the default credentials for
* authorizing a request to a Google service.
*
* Application Default Credentials are described here:
* https://developers.google.com/accounts/docs/application-default-credentials
*
* This class implements the search for the application default credentials as
* described in the link.
*
* It provides three factory methods:
* - #get returns the computed credentials object
* - #getSubscriber returns an AuthTokenSubscriber built from the credentials object
* - #getMiddleware returns an AuthTokenMiddleware built from the credentials object
*
* This allows it to be used as follows with GuzzleHttp\Client:
*
* ```
* use Google\Auth\ApplicationDefaultCredentials;
* use GuzzleHttp\Client;
* use GuzzleHttp\HandlerStack;
*
* $middleware = ApplicationDefaultCredentials::getMiddleware(
* 'https://www.googleapis.com/auth/taskqueue'
* );
* $stack = HandlerStack::create();
* $stack->push($middleware);
*
* $client = new Client([
* 'handler' => $stack,
* 'base_uri' => 'https://www.googleapis.com/taskqueue/v1beta2/projects/',
* 'auth' => 'google_auth' // authorize all requests
* ]);
*
* $res = $client->get('myproject/taskqueues/myqueue');
* ```
*/
class ApplicationDefaultCredentials
{
/**
* Obtains an AuthTokenSubscriber that uses the default FetchAuthTokenInterface
* implementation to use in this environment.
*
* If supplied, $scope is used to in creating the credentials instance if
* this does not fallback to the compute engine defaults.
*
* @param string|array scope the scope of the access request, expressed
* either as an Array or as a space-delimited String.
* @param callable $httpHandler callback which delivers psr7 request
* @param array $cacheConfig configuration for the cache when it's present
* @param CacheItemPoolInterface $cache A cache implementation, may be
* provided if you have one already available for use.
* @return AuthTokenSubscriber
* @throws DomainException if no implementation can be obtained.
*/
public static function getSubscriber($scope = null, callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null)
{
$creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache);
return new \PostSMTP\Vendor\Google\Auth\Subscriber\AuthTokenSubscriber($creds, $httpHandler);
}
/**
* Obtains an AuthTokenMiddleware that uses the default FetchAuthTokenInterface
* implementation to use in this environment.
*
* If supplied, $scope is used to in creating the credentials instance if
* this does not fallback to the compute engine defaults.
*
* @param string|array scope the scope of the access request, expressed
* either as an Array or as a space-delimited String.
* @param callable $httpHandler callback which delivers psr7 request
* @param array $cacheConfig configuration for the cache when it's present
* @param CacheItemPoolInterface $cache A cache implementation, may be
* provided if you have one already available for use.
* @param string $quotaProject specifies a project to bill for access
* charges associated with the request.
* @return AuthTokenMiddleware
* @throws DomainException if no implementation can be obtained.
*/
public static function getMiddleware($scope = null, callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null, $quotaProject = null)
{
$creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache, $quotaProject);
return new \PostSMTP\Vendor\Google\Auth\Middleware\AuthTokenMiddleware($creds, $httpHandler);
}
/**
* Obtains the default FetchAuthTokenInterface implementation to use
* in this environment.
*
* @param string|array $scope the scope of the access request, expressed
* either as an Array or as a space-delimited String.
* @param callable $httpHandler callback which delivers psr7 request
* @param array $cacheConfig configuration for the cache when it's present
* @param CacheItemPoolInterface $cache A cache implementation, may be
* provided if you have one already available for use.
* @param string $quotaProject specifies a project to bill for access
* charges associated with the request.
* @param string|array $defaultScope The default scope to use if no
* user-defined scopes exist, expressed either as an Array or as a
* space-delimited string.
*
* @return CredentialsLoader
* @throws DomainException if no implementation can be obtained.
*/
public static function getCredentials($scope = null, callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null, $quotaProject = null, $defaultScope = null)
{
$creds = null;
$jsonKey = \PostSMTP\Vendor\Google\Auth\CredentialsLoader::fromEnv() ?: \PostSMTP\Vendor\Google\Auth\CredentialsLoader::fromWellKnownFile();
$anyScope = $scope ?: $defaultScope;
if (!$httpHandler) {
if (!($client = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache::getHttpClient())) {
$client = new \PostSMTP\Vendor\GuzzleHttp\Client();
\PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache::setHttpClient($client);
}
$httpHandler = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build($client);
}
if (!\is_null($jsonKey)) {
if ($quotaProject) {
$jsonKey['quota_project_id'] = $quotaProject;
}
$creds = \PostSMTP\Vendor\Google\Auth\CredentialsLoader::makeCredentials($scope, $jsonKey, $defaultScope);
} elseif (\PostSMTP\Vendor\Google\Auth\Credentials\AppIdentityCredentials::onAppEngine() && !\PostSMTP\Vendor\Google\Auth\Credentials\GCECredentials::onAppEngineFlexible()) {
$creds = new \PostSMTP\Vendor\Google\Auth\Credentials\AppIdentityCredentials($anyScope);
} elseif (self::onGce($httpHandler, $cacheConfig, $cache)) {
$creds = new \PostSMTP\Vendor\Google\Auth\Credentials\GCECredentials(null, $anyScope, null, $quotaProject);
}
if (\is_null($creds)) {
throw new \DomainException(self::notFound());
}
if (!\is_null($cache)) {
$creds = new \PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache($creds, $cacheConfig, $cache);
}
return $creds;
}
/**
* Obtains an AuthTokenMiddleware which will fetch an ID token to use in the
* Authorization header. The middleware is configured with the default
* FetchAuthTokenInterface implementation to use in this environment.
*
* If supplied, $targetAudience is used to set the "aud" on the resulting
* ID token.
*
* @param string $targetAudience The audience for the ID token.
* @param callable $httpHandler callback which delivers psr7 request
* @param array $cacheConfig configuration for the cache when it's present
* @param CacheItemPoolInterface $cache A cache implementation, may be
* provided if you have one already available for use.
* @return AuthTokenMiddleware
* @throws DomainException if no implementation can be obtained.
*/
public static function getIdTokenMiddleware($targetAudience, callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null)
{
$creds = self::getIdTokenCredentials($targetAudience, $httpHandler, $cacheConfig, $cache);
return new \PostSMTP\Vendor\Google\Auth\Middleware\AuthTokenMiddleware($creds, $httpHandler);
}
/**
* Obtains an ProxyAuthTokenMiddleware which will fetch an ID token to use in the
* Authorization header. The middleware is configured with the default
* FetchAuthTokenInterface implementation to use in this environment.
*
* If supplied, $targetAudience is used to set the "aud" on the resulting
* ID token.
*
* @param string $targetAudience The audience for the ID token.
* @param callable $httpHandler callback which delivers psr7 request
* @param array $cacheConfig configuration for the cache when it's present
* @param CacheItemPoolInterface $cache A cache implementation, may be
* provided if you have one already available for use.
* @return ProxyAuthTokenMiddleware
* @throws DomainException if no implementation can be obtained.
*/
public static function getProxyIdTokenMiddleware($targetAudience, callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null)
{
$creds = self::getIdTokenCredentials($targetAudience, $httpHandler, $cacheConfig, $cache);
return new \PostSMTP\Vendor\Google\Auth\Middleware\ProxyAuthTokenMiddleware($creds, $httpHandler);
}
/**
* Obtains the default FetchAuthTokenInterface implementation to use
* in this environment, configured with a $targetAudience for fetching an ID
* token.
*
* @param string $targetAudience The audience for the ID token.
* @param callable $httpHandler callback which delivers psr7 request
* @param array $cacheConfig configuration for the cache when it's present
* @param CacheItemPoolInterface $cache A cache implementation, may be
* provided if you have one already available for use.
* @return CredentialsLoader
* @throws DomainException if no implementation can be obtained.
* @throws InvalidArgumentException if JSON "type" key is invalid
*/
public static function getIdTokenCredentials($targetAudience, callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null)
{
$creds = null;
$jsonKey = \PostSMTP\Vendor\Google\Auth\CredentialsLoader::fromEnv() ?: \PostSMTP\Vendor\Google\Auth\CredentialsLoader::fromWellKnownFile();
if (!$httpHandler) {
if (!($client = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache::getHttpClient())) {
$client = new \PostSMTP\Vendor\GuzzleHttp\Client();
\PostSMTP\Vendor\Google\Auth\HttpHandler\HttpClientCache::setHttpClient($client);
}
$httpHandler = \PostSMTP\Vendor\Google\Auth\HttpHandler\HttpHandlerFactory::build($client);
}
if (!\is_null($jsonKey)) {
if (!\array_key_exists('type', $jsonKey)) {
throw new \InvalidArgumentException('json key is missing the type field');
}
if ($jsonKey['type'] == 'authorized_user') {
throw new \InvalidArgumentException('ID tokens are not supported for end user credentials');
}
if ($jsonKey['type'] != 'service_account') {
throw new \InvalidArgumentException('invalid value in the type field');
}
$creds = new \PostSMTP\Vendor\Google\Auth\Credentials\ServiceAccountCredentials(null, $jsonKey, null, $targetAudience);
} elseif (self::onGce($httpHandler, $cacheConfig, $cache)) {
$creds = new \PostSMTP\Vendor\Google\Auth\Credentials\GCECredentials(null, null, $targetAudience);
}
if (\is_null($creds)) {
throw new \DomainException(self::notFound());
}
if (!\is_null($cache)) {
$creds = new \PostSMTP\Vendor\Google\Auth\FetchAuthTokenCache($creds, $cacheConfig, $cache);
}
return $creds;
}
private static function notFound()
{
$msg = 'Could not load the default credentials. Browse to ';
$msg .= 'https://developers.google.com';
$msg .= '/accounts/docs/application-default-credentials';
$msg .= ' for more information';
return $msg;
}
private static function onGce(callable $httpHandler = null, array $cacheConfig = null, \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface $cache = null)
{
$gceCacheConfig = [];
foreach (['lifetime', 'prefix'] as $key) {
if (isset($cacheConfig['gce_' . $key])) {
$gceCacheConfig[$key] = $cacheConfig['gce_' . $key];
}
}
return (new \PostSMTP\Vendor\Google\Auth\GCECache($gceCacheConfig, $cache))->onGce($httpHandler);
}
}

View File

@@ -0,0 +1,23 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth\Cache;
use PostSMTP\Vendor\Psr\Cache\InvalidArgumentException as PsrInvalidArgumentException;
class InvalidArgumentException extends \InvalidArgumentException implements \PostSMTP\Vendor\Psr\Cache\InvalidArgumentException
{
}

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth\Cache;
use PostSMTP\Vendor\Psr\Cache\CacheItemInterface;
/**
* A cache item.
*/
final class Item implements \PostSMTP\Vendor\Psr\Cache\CacheItemInterface
{
/**
* @var string
*/
private $key;
/**
* @var mixed
*/
private $value;
/**
* @var \DateTime|null
*/
private $expiration;
/**
* @var bool
*/
private $isHit = \false;
/**
* @param string $key
*/
public function __construct($key)
{
$this->key = $key;
}
/**
* {@inheritdoc}
*/
public function getKey()
{
return $this->key;
}
/**
* {@inheritdoc}
*/
public function get()
{
return $this->isHit() ? $this->value : null;
}
/**
* {@inheritdoc}
*/
public function isHit()
{
if (!$this->isHit) {
return \false;
}
if ($this->expiration === null) {
return \true;
}
return $this->currentTime()->getTimestamp() < $this->expiration->getTimestamp();
}
/**
* {@inheritdoc}
*/
public function set($value)
{
$this->isHit = \true;
$this->value = $value;
return $this;
}
/**
* {@inheritdoc}
*/
public function expiresAt($expiration)
{
if ($this->isValidExpiration($expiration)) {
$this->expiration = $expiration;
return $this;
}
$implementationMessage = \interface_exists('DateTimeInterface') ? 'implement interface DateTimeInterface' : 'be an instance of DateTime';
$error = \sprintf('Argument 1 passed to %s::expiresAt() must %s, %s given', \get_class($this), $implementationMessage, \gettype($expiration));
$this->handleError($error);
}
/**
* {@inheritdoc}
*/
public function expiresAfter($time)
{
if (\is_int($time)) {
$this->expiration = $this->currentTime()->add(new \DateInterval("PT{$time}S"));
} elseif ($time instanceof \DateInterval) {
$this->expiration = $this->currentTime()->add($time);
} elseif ($time === null) {
$this->expiration = $time;
} else {
$message = 'Argument 1 passed to %s::expiresAfter() must be an ' . 'instance of DateInterval or of the type integer, %s given';
$error = \sprintf($message, \get_class($this), \gettype($time));
$this->handleError($error);
}
return $this;
}
/**
* Handles an error.
*
* @param string $error
* @throws \TypeError
*/
private function handleError($error)
{
if (\class_exists('TypeError')) {
throw new \TypeError($error);
}
\trigger_error($error, \E_USER_ERROR);
}
/**
* Determines if an expiration is valid based on the rules defined by PSR6.
*
* @param mixed $expiration
* @return bool
*/
private function isValidExpiration($expiration)
{
if ($expiration === null) {
return \true;
}
if ($expiration instanceof \DateTimeInterface) {
return \true;
}
return \false;
}
protected function currentTime()
{
return new \DateTime('now', new \DateTimeZone('UTC'));
}
}

View File

@@ -0,0 +1,160 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth\Cache;
use PostSMTP\Vendor\Psr\Cache\CacheItemInterface;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
/**
* Simple in-memory cache implementation.
*/
final class MemoryCacheItemPool implements \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface
{
/**
* @var CacheItemInterface[]
*/
private $items;
/**
* @var CacheItemInterface[]
*/
private $deferredItems;
/**
* {@inheritdoc}
*
* @return CacheItemInterface
* The corresponding Cache Item.
*/
public function getItem($key)
{
return \current($this->getItems([$key]));
}
/**
* {@inheritdoc}
*
* @return array
* A traversable collection of Cache Items keyed by the cache keys of
* each item. A Cache item will be returned for each key, even if that
* key is not found. However, if no keys are specified then an empty
* traversable MUST be returned instead.
*/
public function getItems(array $keys = [])
{
$items = [];
foreach ($keys as $key) {
$items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new \PostSMTP\Vendor\Google\Auth\Cache\Item($key);
}
return $items;
}
/**
* {@inheritdoc}
*
* @return bool
* True if item exists in the cache, false otherwise.
*/
public function hasItem($key)
{
$this->isValidKey($key);
return isset($this->items[$key]) && $this->items[$key]->isHit();
}
/**
* {@inheritdoc}
*
* @return bool
* True if the pool was successfully cleared. False if there was an error.
*/
public function clear()
{
$this->items = [];
$this->deferredItems = [];
return \true;
}
/**
* {@inheritdoc}
*
* @return bool
* True if the item was successfully removed. False if there was an error.
*/
public function deleteItem($key)
{
return $this->deleteItems([$key]);
}
/**
* {@inheritdoc}
*
* @return bool
* True if the items were successfully removed. False if there was an error.
*/
public function deleteItems(array $keys)
{
\array_walk($keys, [$this, 'isValidKey']);
foreach ($keys as $key) {
unset($this->items[$key]);
}
return \true;
}
/**
* {@inheritdoc}
*
* @return bool
* True if the item was successfully persisted. False if there was an error.
*/
public function save(\PostSMTP\Vendor\Psr\Cache\CacheItemInterface $item)
{
$this->items[$item->getKey()] = $item;
return \true;
}
/**
* {@inheritdoc}
*
* @return bool
* False if the item could not be queued or if a commit was attempted and failed. True otherwise.
*/
public function saveDeferred(\PostSMTP\Vendor\Psr\Cache\CacheItemInterface $item)
{
$this->deferredItems[$item->getKey()] = $item;
return \true;
}
/**
* {@inheritdoc}
*
* @return bool
* True if all not-yet-saved items were successfully saved or there were none. False otherwise.
*/
public function commit()
{
foreach ($this->deferredItems as $item) {
$this->save($item);
}
$this->deferredItems = [];
return \true;
}
/**
* Determines if the provided key is valid.
*
* @param string $key
* @return bool
* @throws InvalidArgumentException
*/
private function isValidKey($key)
{
$invalidCharacters = '{}()/\\\\@:';
if (!\is_string($key) || \preg_match("#[{$invalidCharacters}]#", $key)) {
throw new \PostSMTP\Vendor\Google\Auth\Cache\InvalidArgumentException('The provided key is not valid: ' . \var_export($key, \true));
}
return \true;
}
}

View File

@@ -0,0 +1,198 @@
<?php
/**
* Copyright 2018 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth\Cache;
use PostSMTP\Vendor\Psr\Cache\CacheItemInterface;
use PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface;
/**
* SystemV shared memory based CacheItemPool implementation.
*
* This CacheItemPool implementation can be used among multiple processes, but
* it doesn't provide any locking mechanism. If multiple processes write to
* this ItemPool, you have to avoid race condition manually in your code.
*/
class SysVCacheItemPool implements \PostSMTP\Vendor\Psr\Cache\CacheItemPoolInterface
{
const VAR_KEY = 1;
const DEFAULT_PROJ = 'A';
const DEFAULT_MEMSIZE = 10000;
const DEFAULT_PERM = 0600;
/** @var int */
private $sysvKey;
/**
* @var CacheItemInterface[]
*/
private $items;
/**
* @var CacheItemInterface[]
*/
private $deferredItems;
/**
* @var array
*/
private $options;
/*
* @var bool
*/
private $hasLoadedItems = \false;
/**
* Create a SystemV shared memory based CacheItemPool.
*
* @param array $options [optional] Configuration options.
* @param int $options.variableKey The variable key for getting the data from
* the shared memory. **Defaults to** 1.
* @param $options.proj string The project identifier for ftok. This needs to
* be a one character string. **Defaults to** 'A'.
* @param $options.memsize int The memory size in bytes for shm_attach.
* **Defaults to** 10000.
* @param $options.perm int The permission for shm_attach. **Defaults to**
* 0600.
*/
public function __construct($options = [])
{
if (!\extension_loaded('sysvshm')) {
throw new \RuntimeException('sysvshm extension is required to use this ItemPool');
}
$this->options = $options + ['variableKey' => self::VAR_KEY, 'proj' => self::DEFAULT_PROJ, 'memsize' => self::DEFAULT_MEMSIZE, 'perm' => self::DEFAULT_PERM];
$this->items = [];
$this->deferredItems = [];
$this->sysvKey = \ftok(__FILE__, $this->options['proj']);
}
public function getItem($key)
{
$this->loadItems();
return \current($this->getItems([$key]));
}
/**
* {@inheritdoc}
*/
public function getItems(array $keys = [])
{
$this->loadItems();
$items = [];
foreach ($keys as $key) {
$items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new \PostSMTP\Vendor\Google\Auth\Cache\Item($key);
}
return $items;
}
/**
* {@inheritdoc}
*/
public function hasItem($key)
{
$this->loadItems();
return isset($this->items[$key]) && $this->items[$key]->isHit();
}
/**
* {@inheritdoc}
*/
public function clear()
{
$this->items = [];
$this->deferredItems = [];
return $this->saveCurrentItems();
}
/**
* {@inheritdoc}
*/
public function deleteItem($key)
{
return $this->deleteItems([$key]);
}
/**
* {@inheritdoc}
*/
public function deleteItems(array $keys)
{
if (!$this->hasLoadedItems) {
$this->loadItems();
}
foreach ($keys as $key) {
unset($this->items[$key]);
}
return $this->saveCurrentItems();
}
/**
* {@inheritdoc}
*/
public function save(\PostSMTP\Vendor\Psr\Cache\CacheItemInterface $item)
{
if (!$this->hasLoadedItems) {
$this->loadItems();
}
$this->items[$item->getKey()] = $item;
return $this->saveCurrentItems();
}
/**
* {@inheritdoc}
*/
public function saveDeferred(\PostSMTP\Vendor\Psr\Cache\CacheItemInterface $item)
{
$this->deferredItems[$item->getKey()] = $item;
return \true;
}
/**
* {@inheritdoc}
*/
public function commit()
{
foreach ($this->deferredItems as $item) {
if ($this->save($item) === \false) {
return \false;
}
}
$this->deferredItems = [];
return \true;
}
/**
* Save the current items.
*
* @return bool true when success, false upon failure
*/
private function saveCurrentItems()
{
$shmid = \shm_attach($this->sysvKey, $this->options['memsize'], $this->options['perm']);
if ($shmid !== \false) {
$ret = \shm_put_var($shmid, $this->options['variableKey'], $this->items);
\shm_detach($shmid);
return $ret;
}
return \false;
}
/**
* Load the items from the shared memory.
*
* @return bool true when success, false upon failure
*/
private function loadItems()
{
$shmid = \shm_attach($this->sysvKey, $this->options['memsize'], $this->options['perm']);
if ($shmid !== \false) {
$data = @\shm_get_var($shmid, $this->options['variableKey']);
if (!empty($data)) {
$this->items = $data;
} else {
$this->items = [];
}
\shm_detach($shmid);
$this->hasLoadedItems = \true;
return \true;
}
return \false;
}
}

View File

@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth;
trait CacheTrait
{
private $maxKeyLength = 64;
/**
* Gets the cached value if it is present in the cache when that is
* available.
*/
private function getCachedValue($k)
{
if (\is_null($this->cache)) {
return;
}
$key = $this->getFullCacheKey($k);
if (\is_null($key)) {
return;
}
$cacheItem = $this->cache->getItem($key);
if ($cacheItem->isHit()) {
return $cacheItem->get();
}
}
/**
* Saves the value in the cache when that is available.
*/
private function setCachedValue($k, $v)
{
if (\is_null($this->cache)) {
return;
}
$key = $this->getFullCacheKey($k);
if (\is_null($key)) {
return;
}
$cacheItem = $this->cache->getItem($key);
$cacheItem->set($v);
$cacheItem->expiresAfter($this->cacheConfig['lifetime']);
return $this->cache->save($cacheItem);
}
private function getFullCacheKey($key)
{
if (\is_null($key)) {
return;
}
$key = $this->cacheConfig['prefix'] . $key;
// ensure we do not have illegal characters
$key = \preg_replace('|[^a-zA-Z0-9_\\.!]|', '', $key);
// Hash keys if they exceed $maxKeyLength (defaults to 64)
if ($this->maxKeyLength && \strlen($key) > $this->maxKeyLength) {
$key = \substr(\hash('sha256', $key), 0, $this->maxKeyLength);
}
return $key;
}
}

View File

@@ -0,0 +1,200 @@
<?php
/*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace PostSMTP\Vendor\Google\Auth\Credentials;
/*
* The AppIdentityService class is automatically defined on App Engine,
* so including this dependency is not necessary, and will result in a
* PHP fatal error in the App Engine environment.
*/
use PostSMTP\Vendor\google\appengine\api\app_identity\AppIdentityService;
use PostSMTP\Vendor\Google\Auth\CredentialsLoader;
use PostSMTP\Vendor\Google\Auth\ProjectIdProviderInterface;
use PostSMTP\Vendor\Google\Auth\SignBlobInterface;
/**
* AppIdentityCredentials supports authorization on Google App Engine.
*
* It can be used to authorize requests using the AuthTokenMiddleware or
* AuthTokenSubscriber, but will only succeed if being run on App Engine:
*
* Example:
* ```
* use Google\Auth\Credentials\AppIdentityCredentials;
* use Google\Auth\Middleware\AuthTokenMiddleware;
* use GuzzleHttp\Client;
* use GuzzleHttp\HandlerStack;
*
* $gae = new AppIdentityCredentials('https://www.googleapis.com/auth/books');
* $middleware = new AuthTokenMiddleware($gae);
* $stack = HandlerStack::create();
* $stack->push($middleware);
*
* $client = new Client([
* 'handler' => $stack,
* 'base_uri' => 'https://www.googleapis.com/books/v1',
* 'auth' => 'google_auth'
* ]);
*
* $res = $client->get('volumes?q=Henry+David+Thoreau&country=US');
* ```
*/
class AppIdentityCredentials extends \PostSMTP\Vendor\Google\Auth\CredentialsLoader implements \PostSMTP\Vendor\Google\Auth\SignBlobInterface, \PostSMTP\Vendor\Google\Auth\ProjectIdProviderInterface
{
/**
* Result of fetchAuthToken.
*
* @var array
*/
protected $lastReceivedToken;
/**
* Array of OAuth2 scopes to be requested.
*
* @var array
*/
private $scope;
/**
* @var string
*/
private $clientName;
/**
* @param array $scope One or more scopes.
*/
public function __construct($scope = array())
{
$this->scope = $scope;
}
/**
* Determines if this an App Engine instance, by accessing the
* SERVER_SOFTWARE environment variable (prod) or the APPENGINE_RUNTIME
* environment variable (dev).
*
* @return bool true if this an App Engine Instance, false otherwise
*/
public static function onAppEngine()
{
$appEngineProduction = isset($_SERVER['SERVER_SOFTWARE']) && 0 === \strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine');
if ($appEngineProduction) {
return \true;
}
$appEngineDevAppServer = isset($_SERVER['APPENGINE_RUNTIME']) && $_SERVER['APPENGINE_RUNTIME'] == 'php';
if ($appEngineDevAppServer) {
return \true;
}
return \false;
}
/**
* Implements FetchAuthTokenInterface#fetchAuthToken.
*
* Fetches the auth tokens using the AppIdentityService if available.
* As the AppIdentityService uses protobufs to fetch the access token,
* the GuzzleHttp\ClientInterface instance passed in will not be used.
*
* @param callable $httpHandler callback which delivers psr7 request
* @return array A set of auth related metadata, containing the following
* keys:
* - access_token (string)
* - expiration_time (string)
*/
public function fetchAuthToken(callable $httpHandler = null)
{
try {
$this->checkAppEngineContext();
} catch (\Exception $e) {
return [];
}
// AppIdentityService expects an array when multiple scopes are supplied
$scope = \is_array($this->scope) ? $this->scope : \explode(' ', $this->scope);
$token = \PostSMTP\Vendor\google\appengine\api\app_identity\AppIdentityService::getAccessToken($scope);
$this->lastReceivedToken = $token;
return $token;
}
/**
* Sign a string using AppIdentityService.
*
* @param string $stringToSign The string to sign.
* @param bool $forceOpenSsl [optional] Does not apply to this credentials
* type.
* @return string The signature, base64-encoded.
* @throws \Exception If AppEngine SDK or mock is not available.
*/
public function signBlob($stringToSign, $forceOpenSsl = \false)
{
$this->checkAppEngineContext();
return \base64_encode(\PostSMTP\Vendor\google\appengine\api\app_identity\AppIdentityService::signForApp($stringToSign)['signature']);
}
/**
* Get the project ID from AppIdentityService.
*
* Returns null if AppIdentityService is unavailable.
*
* @param callable $httpHandler Not used by this type.
* @return string|null
*/
public function getProjectId(callable $httpHander = null)
{
try {
$this->checkAppEngineContext();
} catch (\Exception $e) {
return null;
}
return \PostSMTP\Vendor\google\appengine\api\app_identity\AppIdentityService::getApplicationId();
}
/**
* Get the client name from AppIdentityService.
*
* Subsequent calls to this method will return a cached value.
*
* @param callable $httpHandler Not used in this implementation.
* @return string
* @throws \Exception If AppEngine SDK or mock is not available.
*/
public function getClientName(callable $httpHandler = null)
{
$this->checkAppEngineContext();
if (!$this->clientName) {
$this->clientName = \PostSMTP\Vendor\google\appengine\api\app_identity\AppIdentityService::getServiceAccountName();
}
return $this->clientName;
}
/**
* @return array|null
*/
public function getLastReceivedToken()
{
if ($this->lastReceivedToken) {
return ['access_token' => $this->lastReceivedToken['access_token'], 'expires_at' => $this->lastReceivedToken['expiration_time']];
}
return null;
}
/**
* Caching is handled by the underlying AppIdentityService, return empty string
* to prevent caching.
*
* @return string
*/
public function getCacheKey()
{
return '';
}
private function checkAppEngineContext()
{
if (!self::onAppEngine() || !\class_exists('PostSMTP\\Vendor\\google\\appengine\\api\\app_identity\\AppIdentityService')) {
throw new \Exception('This class must be run in App Engine, or you must include the AppIdentityService ' . 'mock class defined in tests/mocks/AppIdentityService.php');
}
}
}

Some files were not shown because too many files have changed in this diff Show More