Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/code/Soon/Social/Helper/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/code/Soon/Social/Helper/ConnectInterface.php
<?php
/**
 * This file is part of Soon_Social for Magento2.
 *
 * @license All rights reserved
 * @author Christophe SOON <[email protected]>
 * @category Soon
 * @package Soon_Social
 * @copyright Copyright (c) 2015 Agence Soon (http://www.agence-soon.fr)
 */

namespace Soon\Social\Helper;

use Magento\Framework\App\ResponseInterface;
use Magento\Framework\DataObject;

/**
 * Interface ConnectInterface
 * @package Soon\Social\Helper
 */
interface ConnectInterface
{
    /**
     * URL to internal connector login action
     *
     * @param bool $loginFlag
     * @return mixed
     */
    public function getLoginUrl($loginFlag = false);

    /**
     * Callback url for external service
     *
     * @return mixed
     */
    public function getRedirectUrl();

    /**
     * Service name
     *
     * @return mixed
     */
    public function getServiceName();

    /**
     * Authentication url
     *
     * @return mixed
     */
    public function getOAuthUrl();

    /**
     * Before login action
     *
     * @param ResponseInterface $response
     * @return mixed
     */
    public function beforeConnectLogin(ResponseInterface $response);

    /**
     * After login action
     *
     * @param ResponseInterface $response
     * @return mixed
     */
    public function beforeConnectLoginBack(ResponseInterface $response);

    /**
     * Get user data from connector
     *
     * @return DataObject
     */
    public function getUserData();
}

Spamworldpro Mini