CoreFiles by mySites.guru
OAuthCallbackEvent.php92 lines, 1,554 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
e7668af2ab051930e0b5b84e862bc85e
sha1
1daeb98c4f1341618b13fb870a4af5711855d9a6
sha256
4d032208e6615b51c1c95c62dff8cee25d1cf7d18d152576c5272d90a0dfb0ae
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_media
 *
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Media\Administrator\Event;

use Joomla\CMS\Event\AbstractEvent;
use Joomla\Input\Input;

/**
 * Event object to retrieve OAuthCallbacks.
 *
 * @since  4.0.0
 */
class OAuthCallbackEvent extends AbstractEvent
{
    /**
     * The event context.
     *
     * @var string
     *
     * @since  4.0.0
     */
    private $context = null;

    /**
     * The event input.
     *
     * @var    Input
     *
     * @since  4.0.0
     */
    private $input = null;

    /**
     * Get the event context.
     *
     * @return string
     *
     * @since  4.0.0
     */
    public function getContext()
    {
        return $this->context;
    }

    /**
     * Set the event context.
     *
     * @param   string  $context  Event context
     *
     * @return void
     *
     * @since  4.0.0
     */
    public function setContext($context)
    {
        $this->context = $context;
    }

    /**
     * Get the event input.
     *
     * @return  Input
     *
     * @since  4.0.0
     */
    public function getInput()
    {
        return $this->input;
    }

    /**
     * Set the event input.
     *
     * @param   Input  $input  Event input
     *
     * @return void
     *
     * @since  4.0.0
     */
    public function setInput($input)
    {
        $this->input = $input;
    }
}

The same content is in 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.