<commit_before><?php
/**
 * Webiny Framework (http://www.webiny.com/framework)
 *
 * @copyright Copyright Webiny LTD
 */

namespace Webiny\Component\OAuth2\Bridge;

use Webiny\Component\StdLib\StdLibTrait;

/**
 * OAuth2 abstract class.
 * This class implements the OAuth2Interface and adds some methods that ease the implementation of OAuth2 bridge libraries.
 *
 * @package         Webiny\Component\OAuth2\Bridge
 */
abstract class OAuth2Abstract implements OAuth2Interface
{

    use StdLibTrait;

    /**
     * Request scope, a comma-separated list of parameters.
     *
     * @var string
     */
    protected $_scope = '';

    /**
     * Request state.
     *
     * @var string
     */
    protected $_state = '';

    /**
     * OAuth2 Client ID.
     *
     * @var string
     */
    protected $_clientId = '';

    /**
     * Client secret for defined Client ID.
     *
     * @var string
     */
    protected $_clientSecret = '';

    /**
     * A URI where the user will be redirected after OAuth2 authorization.
     *
     * @var string
     */
    protected $_redirectUri = '';


    /**
     * Name of the OAuth2 server class.
     *
     * @var string
     */
    private $_serverClassName = '';

    /**
     * Optional array that is provided in case of 'custom' server name.
     *
     * @var null
     */
    private $_serverOptions = null;

    /**
     * Name of the access token.
     *
     * @var string
     */<commit_msg>Version bumped to 1.2.2<commit_after><?php
/**
 * Webiny Framework (http://www.webiny.com/framework)
 *
 * @copyright Copyright Webiny LTD
 */

namespace Webiny\Component\OAuth2\Bridge;

use Webiny\Component\StdLib\StdLibTrait;

/**
 * OAuth2 abstract class.
 * This class implements the OAuth2Interface and adds some methods that ease the implementation of OAuth2 bridge libraries.
 *
 * @package         Webiny\Component\OAuth2\Bridge
 */
abstract class OAuth2Abstract implements OAuth2Interface
{

    use StdLibTrait;

    /**
     * Request scope, a comma-separated list of parameters.
     *
     * @var string
     */
    protected $_scope = '';

    /**
     * Request state.
     *
     * @var string
     */
    protected $_state = '';

    /**
     * OAuth2 Client ID.
     *
     * @var string
     */
    protected $_clientId = '';

    /**
     * Client secret for defined Client ID.
     *
     * @var string
     */
    protected $_clientSecret = '';

    /**
     * A URI where the user will be redirected after OAuth2 authorization.
     *
     * @var string
     */
    protected $_redirectUri = '';

    /**
     * Name of the OAuth2 server class.
     *
     * @var string
     */
    private $_serverClassName = '';

    /**
     * Optional array that is provided in case of 'custom' server name.
     *
     * @var null
     */
    private $_serverOptions = null;

    /**
     * Name of the access token.
     *
     * @var string
     */
{'fraction_non_alphanumeric': 0.11320754716981132, 'fraction_numerical': 0.007890222984562607, 'mean_word_length': 1.984646878198567, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4592865', 'n_tokens_mistral': 879, 'n_tokens_neox': 860, 'n_words': 249}