diff --git a/src/Grant/CustomGrantFactory.php b/src/Grant/CustomGrantFactory.php index 07ffc90..1501938 100644 --- a/src/Grant/CustomGrantFactory.php +++ b/src/Grant/CustomGrantFactory.php @@ -36,6 +36,8 @@ protected function registerDefaultGrant($name) if ($name == 'facebook') { $class = 'KangarooRewards\\OAuth2\\Client\\Grant\\' . $class; + } elseif ($name == 'google') { + $class = 'KangarooRewards\\OAuth2\\Client\\Grant\\' . $class; } else { $class = 'League\\OAuth2\\Client\\Grant\\' . $class; } diff --git a/src/Grant/Google.php b/src/Grant/Google.php new file mode 100644 index 0000000..01474b5 --- /dev/null +++ b/src/Grant/Google.php @@ -0,0 +1,39 @@ +