CoreFiles by mySites.guru
OAuthCallbackEvent.php96 lines, 1,661 bytes, from Joomla_6.1.1-Stable-Full_Package.zip
Raw History Compare with 6.1.0
md5
856edcdf54de333e91a17e8878ff09ef
sha1
2664621e193a68ca631ba34fb0475f75a57ba652
sha256
d1abaa15470d26632071a8cbebc296b73772bf06b876c490370cd67f920e81a2
<?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;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * 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 225 releases, Joomla 4.2.1 to 6.2.1-rc1. See them all, or every version of this file.