Plugin Directory

Changeset 2571159

Timestamp:
07/23/2021 10:00:17 PM (3 years ago)
Author:
rtcamp
Message:

Update to version 1.2.1 from GitHub

Location:
login-with-google
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • login-with-google/tags/1.2.1/login-with-google.php

    r2567662 r2571159  
    33 * Plugin Name: Login with Google
    44 * Description: Allow users to login/register via Google.
    5  * Version: 1.2
     5 * Version: 1.2
    66 * Author: rtCamp
    77 * Author URI: https://rtcamp.com
  • login-with-google/tags/1.2.1/readme.txt

    r2567662 r2571159  
    66Tested up to: 5.7
    77Requires PHP: 7.3
    8 Stable tag: 1.2
     8Stable tag: 1.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    142142== Changelog ==
    143143
     144
     145
     146
    144147= 1.2 =
    145148* Feature: One-Tap Login setting for supported browsers.
     
    171174== Upgrade Notice ==
    172175
    173 = 1.2 =
    174 * Feature: One-Tap Login setting for supported browsers.
     176= 1.2 =
     177* Feature:
  • login-with-google/tags/1.2.1/src/Utils/GoogleClient.php

    r2567662 r2571159  
    148148        );
    149149
     150
     151
     152
     153
     154
    150155        $scope = apply_filters( 'rtcamp.google_scope', $scope );
    151156
    152         return self::AUTHORIZE_URL . '?' . http_build_query(
    153             [
    154                 'client_id'     => $this->client_id,
    155                 'redirect_uri'  => $this->gt_redirect_url(),
    156                 'state'         => $this->state(),
    157                 'scope'         => implode( ' ', $scope ),
    158                 'access_type'   => 'online',
    159                 'response_type' => 'code',
    160             ]
    161         );
     157        $client_args = [
     158            'client_id'     => $this->client_id,
     159            'redirect_uri'  => $this->gt_redirect_url(),
     160            'state'         => $this->state(),
     161            'scope'         => implode( ' ', $scope ),
     162            'access_type'   => 'online',
     163            'response_type' => 'code',
     164        ];
     165
     166        /**
     167         * Filter the arguments for sending in query.
     168         *
     169         * This is useful in cases for example: choosing the correct prompt.
     170         *
     171         * @param array $client_args List of query arguments to send to Google OAuth.
     172         */
     173        $client_args = apply_filters( 'rtcamp.google_client_args', $client_args );
     174
     175        return self::AUTHORIZE_URL . '?' . http_build_query( $client_args );
    162176    }
    163177
  • login-with-google/tags/1.2.1/vendor/autoload.php

    r2567662 r2571159  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • login-with-google/tags/1.2.1/vendor/composer/autoload_real.php

    r2567662 r2571159  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • login-with-google/tags/1.2.1/vendor/composer/autoload_static.php

    r2567662 r2571159  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4242    {
    4343        return \Closure::bind(function () use ($loader) {
    44             $loader->prefixLengthsPsr4 = ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::$prefixLengthsPsr4;
    45             $loader->prefixDirsPsr4 = ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::$prefixDirsPsr4;
    46             $loader->prefixesPsr0 = ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::$prefixesPsr0;
     44            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     45            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     46            $loader->prefixesPsr0 = ComposerStaticInit::$prefixesPsr0;
    4747
    4848        }, null, ClassLoader::class);
  • login-with-google/trunk/login-with-google.php

    r2567662 r2571159  
    33 * Plugin Name: Login with Google
    44 * Description: Allow users to login/register via Google.
    5  * Version: 1.2
     5 * Version: 1.2
    66 * Author: rtCamp
    77 * Author URI: https://rtcamp.com
  • login-with-google/trunk/readme.txt

    r2567662 r2571159  
    66Tested up to: 5.7
    77Requires PHP: 7.3
    8 Stable tag: 1.2
     8Stable tag: 1.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    142142== Changelog ==
    143143
     144
     145
     146
    144147= 1.2 =
    145148* Feature: One-Tap Login setting for supported browsers.
     
    171174== Upgrade Notice ==
    172175
    173 = 1.2 =
    174 * Feature: One-Tap Login setting for supported browsers.
     176= 1.2 =
     177* Feature:
  • login-with-google/trunk/src/Utils/GoogleClient.php

    r2567662 r2571159  
    148148        );
    149149
     150
     151
     152
     153
     154
    150155        $scope = apply_filters( 'rtcamp.google_scope', $scope );
    151156
    152         return self::AUTHORIZE_URL . '?' . http_build_query(
    153             [
    154                 'client_id'     => $this->client_id,
    155                 'redirect_uri'  => $this->gt_redirect_url(),
    156                 'state'         => $this->state(),
    157                 'scope'         => implode( ' ', $scope ),
    158                 'access_type'   => 'online',
    159                 'response_type' => 'code',
    160             ]
    161         );
     157        $client_args = [
     158            'client_id'     => $this->client_id,
     159            'redirect_uri'  => $this->gt_redirect_url(),
     160            'state'         => $this->state(),
     161            'scope'         => implode( ' ', $scope ),
     162            'access_type'   => 'online',
     163            'response_type' => 'code',
     164        ];
     165
     166        /**
     167         * Filter the arguments for sending in query.
     168         *
     169         * This is useful in cases for example: choosing the correct prompt.
     170         *
     171         * @param array $client_args List of query arguments to send to Google OAuth.
     172         */
     173        $client_args = apply_filters( 'rtcamp.google_client_args', $client_args );
     174
     175        return self::AUTHORIZE_URL . '?' . http_build_query( $client_args );
    162176    }
    163177
  • login-with-google/trunk/vendor/autoload.php

    r2567662 r2571159  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • login-with-google/trunk/vendor/composer/autoload_real.php

    r2567662 r2571159  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit21e7e90cc7311a71bc3ed151a4019e8f', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • login-with-google/trunk/vendor/composer/autoload_static.php

    r2567662 r2571159  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4242    {
    4343        return \Closure::bind(function () use ($loader) {
    44             $loader->prefixLengthsPsr4 = ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::$prefixLengthsPsr4;
    45             $loader->prefixDirsPsr4 = ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::$prefixDirsPsr4;
    46             $loader->prefixesPsr0 = ComposerStaticInit21e7e90cc7311a71bc3ed151a4019e8f::$prefixesPsr0;
     44            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     45            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     46            $loader->prefixesPsr0 = ComposerStaticInit::$prefixesPsr0;
    4747
    4848        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.