Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9172f732
authored
2016-10-04 17:57:08 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
eee
1 parent
e5526f4e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
9172f73
...
...
@@ -244,6 +244,8 @@ public function isGoogleFolderCreated($cust_id)
$_SESSION
[
'token'
]
=
$client
->
getAccessToken
();
$token
=
json_decode
(
$_SESSION
[
'token'
]);
echo
"<a class='logout' href='?logout'>Logout</a>"
;
$authUrl
=
$client
->
createAuthUrl
();
print
"<a class='login' href='
$authUrl
'>Connect Me!</a>"
;
echo
"Access Token = "
.
$token
->
access_token
.
'<br/>'
;
echo
"Refresh Token = "
.
$token
->
refresh_token
.
'<br/>'
;
echo
"Token type = "
.
$token
->
token_type
.
'<br/>'
;
...
...
@@ -252,8 +254,7 @@ public function isGoogleFolderCreated($cust_id)
echo
"Created = "
.
$token
->
created
.
'<br/>'
;
$authUrl
=
$client
->
createAuthUrl
();
print
"<a class='login' href='
$authUrl
'>Connect Me!</a>"
;
}
...
...
Please
register
or
sign in
to post a comment