Toggle navigation
Toggle navigation
This project
Loading...
Sign in
UT
/
oauth_2-0_client_php
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
Authored by
elbart
2010-08-10 15:50:13 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ad8818c1e5afd577cbca7f0eaca8f96580c61aa8
ad8818c1
1 parent
ba652fdc
fixed some typos
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
oauth2.php
oauth2.php
View file @
ad8818c
...
...
@@ -120,7 +120,7 @@ class OAuth2_Service
}
/**
* get access token of from service, has to be called after successful
l
authorization
* get access token of from service, has to be called after successful authorization
*
* @param string $code optional, if no code given method tries to get it out of $_GET
*/
...
...
@@ -242,7 +242,6 @@ class OAuth2_Service
$parameters
=
null
;
$header
=
array
();
$header
=
array
(
'Authorization: OAuth '
.
$token
->
getAccessToken
());
$http
=
new
OAuth2_HttpClient
(
$endpoint
,
$method
,
$parameters
,
$header
);
...
...
@@ -303,7 +302,6 @@ class OAuth2_Token
public
function
getLifeTime
()
{
return
$this
->
_lifeTime
;
}
}
class
OAuth2_DataStore_Session
extends
OAuth2_DataStore_Abstract
...
...
@@ -545,7 +543,6 @@ class OAuth2_HttpClient
public
function
setDebug
(
$debug
)
{
$this
->
_debug
=
$debug
;
}
}
class
OAuth2_Exception
extends
Exception
{}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment