<?php
/**
 * @package   Essentials YOOtheme Pro 2.2.16 build 0813.1608
 * @author    ZOOlanders https://www.zoolanders.com
 * @copyright Copyright (C) Joolanders, SL
 * @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
 */

namespace ZOOlanders\YOOessentials\Auth\Driver\Mailchimp;

use ZOOlanders\YOOessentials\Auth\AuthDriver;

return [

    'routes' => [
        ['post', MailchimpController::PRE_OAUTH_SAVE_ENDPOINT, MailchimpController::class . '@presaveOauth'],
        ['post', MailchimpController::PRE_APIKEY_SAVE_ENDPOINT, MailchimpController::class . '@presaveApikey'],
    ],

    'yooessentials-auth-drivers' => [
        AuthDriver::class => [__DIR__ . '/driver-oauth.json', __DIR__ . '/driver-apikey.json']
    ],

];
