Giter Club home page Giter Club logo

laravel-google-auth's People

Contributors

felthy avatar grayxr avatar michelypma avatar taledo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-google-auth's Issues

Scopes and services

Hi, this is an awesome package! How would I go about changing the level of access, scope, and the types of services used by Google with this package? Would I have to write my own service provider or something? I'd like to access a user's Google Drive files with the Google Drive api and 'drive.file' scope as noted here: https://developers.google.com/drive/scopes#google_drive_scopes.

Update for Laravel 4.1?

Hi. I tried updating the dependency for illuminate/support in composer.json to ~4 but I think there's something else not working within the package as, while i can login via google, the user object is empty. Any ideas? Thanks,

Mark

Abstract Method Error

Getting the following error after following the instructions in README.md. Laravel 4.1.

Class Themonkeys\LaravelGoogleAuth\GoogleUserProvider contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Illuminate\Auth\UserProviderInterface::retrieveByToken, Illuminate\Auth\UserProviderInterface::updateRememberToken)

Issue with Laravel 4.1.26

The following error seems to occur everytime the Auth object is called. This only happens as of
Laravel 4.1.26:

Symfony \ Component \ Debug \ Exception \ FatalErrorException
Class Themonkeys\LaravelGoogleAuth\GoogleUserProvider contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Illuminate\Auth\UserProviderInterface::retrieveByToken, Illuminate\Auth\UserProviderInterface::updateRememberToken)

The "google-finish-authentication" filter isn't available until Auth is initiated

When trying to apply the "google-finish-authentication" filter to my route, I noticed that it wasn't actually being fired. After some digging, I realized it was because it wasn't registered yet. The filter is only registered when Auth is initiated, and in my application, when my callback route was fired, the filter didn't yet exist.

To fix this, I just had to set "defer" to false in the LaravelGoogleAuthServiceProvider class. I'm not sure why it's set to be deferred as this class needs to be loaded before routes are fired.

Warning Ambiguous class resolution Too many Attached is output

Warning: Ambiguous class resolution, "Google_CommentsServiceResource" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contr
ib\Google_BloggerService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\googl
e-api-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_PeopleServiceResource" was found in
both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib
\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\goo
gle-api-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_PlusService" was found in both "C:
xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Pl
usDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-ph
p-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_Acl" was found in both "C:\xampp\ht
docs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_CalendarSe
rvice.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\sr
c\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_Activity" was found in both "C:\xam
pp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Audit
Service.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityActor" was found in both "C
:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_
AuditService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-cl
ient\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityActorImage" was found in bo
th "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Go
ogle_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google
-api-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityActorName" was found in bot
h "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Goo
gle_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-
api-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityFeed" was found in both "C:
\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_P
lusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-p
hp-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityObject" was found in both "
C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google
_OrkutService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-c
lient\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectActor" was found in b
oth "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\G
oogle_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\googl
e-api-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectActorImage" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\cont
rib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google
google-api-php-client\src\contrib\Google_PlusService.php", the first will be use
d.

Warning: Ambiguous class resolution, "Google_ActivityObjectAttachments" was foun
d in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\con
trib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google
\google-api-php-client\src\contrib\Google_PlusService.php", the first will be us
ed.

Warning: Ambiguous class resolution, "Google_ActivityObjectAttachmentsEmbed" was
found in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\sr
c\contrib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\g
oogle\google-api-php-client\src\contrib\Google_PlusService.php", the first will
be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectAttachmentsFullImage"
was found in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clien
t\src\contrib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vend
or\google\google-api-php-client\src\contrib\Google_PlusService.php", the first w
ill be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectAttachmentsImage" was
found in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\sr
c\contrib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\g
oogle\google-api-php-client\src\contrib\Google_PlusService.php", the first will
be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectAttachmentsThumbnails
" was found in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clie
nt\src\contrib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\ven
dor\google\google-api-php-client\src\contrib\Google_PlusService.php", the first
will be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectAttachmentsThumbnails
Image" was found in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php
-client\src\contrib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerg
e\vendor\google\google-api-php-client\src\contrib\Google_PlusService.php", the f
irst will be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectPlusoners" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contr
ib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\g
oogle-api-php-client\src\contrib\Google_PlusService.php", the first will be used
.

Warning: Ambiguous class resolution, "Google_ActivityObjectReplies" was found in
both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib
\Google_OrkutService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-ap
i-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ActivityObjectResharers" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contr
ib\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\g
oogle-api-php-client\src\contrib\Google_PlusService.php", the first will be used
.

Warning: Ambiguous class resolution, "Google_ActivityProvider" was found in both
"C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Goog
le_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-a
pi-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_Comment" was found in both "C:\xamp
p\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Blogge
rService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_CommentActor" was found in both "C:
\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_P
lusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-p
hp-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_CommentActorImage" was found in bot
h "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Goo
gle_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-
api-php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_CommentFeed" was found in both "C:
xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Pl
usDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-ph
p-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_CommentInReplyTo" was found in both
"C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Goog
le_BloggerService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-p
hp-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_CommentObject" was found in both "C
:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_
PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-
php-client\src\contrib\Google_PlusService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_CommentPlusoners" was found in both
"C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Goog
le_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-a
pi-php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PeopleFeed" was found in both "C:\x
ampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Plu
sDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php
-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Person" was found in both "C:\xampp
\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_PlusDom
ainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-cli
ent\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonCover" was found in both "C:
xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Pl
usDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-ph
p-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonCoverCoverInfo" was found in
both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib
Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\goog
le-api-php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonCoverCoverPhoto" was found in
both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib
\Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\goo
gle-api-php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonImage" was found in both "C:
xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Pl
usDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-ph
p-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonName" was found in both "C:\x
ampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Plu
sDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php
-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonOrganizations" was found in b
oth "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\G
oogle_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\googl
e-api-php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonPlacesLived" was found in bot
h "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Goo
gle_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-
api-php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PersonUrls" was found in both "C:\x
ampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Plu
sDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php
-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Place" was found in both "C:\xampp
htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_PlusDoma
insService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clie
nt\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PlaceAddress" was found in both "C:
\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_P
lusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-p
hp-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PlacePosition" was found in both "C
:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_
PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-
php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_PlusAclentryResource" was found in
both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib
Google_PlusDomainsService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\goog
le-api-php-client\src\contrib\Google_PlusService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ActivitiesServiceResource" was foun
d in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\con
trib\Google_AuditService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\googl
e-api-php-client\src\contrib\Google_ReportsService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_Activities" was found in both "C:\x
ampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Aud
itService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clien
t\src\contrib\Google_ReportsService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Activity" was found in both "C:\xam
pp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Audit
Service.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
src\contrib\Google_ReportsService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ActivityActor" was found in both "C
:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_
AuditService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-cl
ient\src\contrib\Google_ReportsService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ActivityEvents" was found in both "
C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google
_AuditService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-c
lient\src\contrib\Google_ReportsService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ActivityEventsParameters" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\cont
rib\Google_AuditService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google
-api-php-client\src\contrib\Google_ReportsService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ActivityId" was found in both "C:\x
ampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Aud
itService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clien
t\src\contrib\Google_ReportsService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_SubscriptionsServiceResource" was f
ound in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src
contrib\Google_MirrorService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\g
oogle-api-php-client\src\contrib\Google_ResellerService.php", the first will be
used.
Warning: Ambiguous class resolution, "Google_Address" was found in both "C:\xamp
p\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Comput
eService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
\src\contrib\Google_ResellerService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Subscription" was found in both "C:
\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_M
irrorService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-cl
ient\src\contrib\Google_ResellerService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_InstancesServiceResource" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\cont
rib\Google_ComputeService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\goog
le-api-php-client\src\contrib\Google_SQLAdminService.php", the first will be use
d.
Warning: Ambiguous class resolution, "Google_OperationError" was found in both "
C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google
_ComputeService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php
-client\src\contrib\Google_SQLAdminService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Settings" was found in both "C:\xam
pp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Calen
darService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clie
nt\src\contrib\Google_SQLAdminService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ChannelsServiceResource" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contr
ib\Google_DriveService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-
api-php-client\src\contrib\Google_StorageService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Bucket" was found in both "C:\xampp
\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Fusiont
ablesService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-cl
ient\src\contrib\Google_StorageService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Channel" was found in both "C:\xamp
p\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_CivicI
nfoService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clie
nt\src\contrib\Google_StorageService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_TasksServiceResource" was found in
both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib
Google_TaskqueueService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google
-api-php-client\src\contrib\Google_TasksService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Task" was found in both "C:\xampp\h
tdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Taskqueue
Service.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
src\contrib\Google_TasksService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Tasks" was found in both "C:\xampp
htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Taskqueu
eService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
\src\contrib\Google_TasksService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_ReportsServiceResource" was found i
n both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contri
b\Google_AdsensehostService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\go
ogle-api-php-client\src\contrib\Google_YouTubeAnalyticsService.php", the first w
ill be used.
Warning: Ambiguous class resolution, "Google_ActivitiesServiceResource" was foun
d in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\con
trib\Google_AuditService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\googl
e-api-php-client\src\contrib\Google_YouTubeService.php", the first will be used.

Warning: Ambiguous class resolution, "Google_ChannelsServiceResource" was found
in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contr
ib\Google_DriveService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-
api-php-client\src\contrib\Google_YouTubeService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_SubscriptionsServiceResource" was f
ound in both "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src
contrib\Google_MirrorService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\g
oogle-api-php-client\src\contrib\Google_YouTubeService.php", the first will be u
sed.
Warning: Ambiguous class resolution, "Google_Activity" was found in both "C:\xam
pp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_Audit
Service.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-client
src\contrib\Google_YouTubeService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Channel" was found in both "C:\xamp
p\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_CivicI
nfoService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-clie
nt\src\contrib\Google_YouTubeService.php", the first will be used.
Warning: Ambiguous class resolution, "Google_Subscription" was found in both "C:
\xampp\htdocs\MailMerge\vendor\google\google-api-php-client\src\contrib\Google_M
irrorService.php" and "C:\xampp\htdocs\MailMerge\vendor\google\google-api-php-cl
ient\src\contrib\Google_YouTubeService.php", the first will be used.
Generating optimized class loader

Restrict To Single Domain / GApps Organization?

Just curious, is there a way to restrict to a single domain? For example, if you have a GApps for Business account and the client want's their staff want to access a custom dashboard they can auth with their gapps account? While users outside of their gapps can't access?

Token expiring and no refresh token

So, I think when configuring the client with the 'offline' access type, Google requires the access token to be refreshed after the token expires. Have you come across the following error after being logged in for over an hour or so?

'The OAuth 2.0 access token has expired, and a refresh token is not available.
 Refresh tokens are not returned for responses that were auto-approved.'

I've implemented user registration in my application, so that after a user authenticates, some user data is stored in my database. Included in that stored data is the access token with a refresh token received upon the initial authentication. Do you know how I should go about implementing the 'refreshToken' function with your library? Or would you have a better idea? Maybe it would be easier and/or better to detect if the access token is expired, and then log the user out and back in again. By the way, I commented out "App::make('google-client')->revokeToken();" in the 'logout' function so that I don't have to make the user keep seeing the oauth 'consent' page.

Using codeception to do some testing

Hello, i want to ask a question if you don't mind, i'm using codeception to do some testing but everytime i run my functional testing i get Google driver not found , how can i solve that ? i think codeception can't get the google driver authentication

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.