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
Bastian Hofmann
2011-03-31 17:30:15 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
df2c42cdd7e703b64366aaff0d6fb3dc68342696
df2c42cd
1 parent
6e37651b
catched possible error if service returns empty parameters like token=abc&scope=…
… in access token response
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
oauth2.php
oauth2.php
View file @
df2c42c
...
...
@@ -363,7 +363,7 @@ class OAuth2_Token
}
return
$this
->
_additionalParams
[
$param
];
case
'set'
:
if
(
!
isset
(
$arguments
[
0
]
))
{
if
(
!
array_key_exists
(
0
,
$arguments
))
{
throw
new
OAuth2_Exception
(
'magic setter has no argument'
);
}
$this
->
_additionalParams
[
$param
]
=
$arguments
[
0
];
...
...
Please
register
or
login
to post a comment