Skip to content
Snippets Groups Projects
Unverified Commit 1cc666b2 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

oauth: remove unused code

parent e82959f6
No related branches found
No related tags found
No related merge requests found
...@@ -40,16 +40,10 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore { ...@@ -40,16 +40,10 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore {
*/ */
public function authorize($requestTokenKey, $data) { public function authorize($requestTokenKey, $data) {
$url = null; $url = null;
$verifier = '';
$version = $this->defaultversion;
// See whether to remember values from the original requestToken request: // See whether to remember values from the original requestToken request:
$request_attributes = $this->store->get('requesttorequest', $requestTokenKey, ''); // must be there .. $request_attributes = $this->store->get('requesttorequest', $requestTokenKey, ''); // must be there ..
if ($request_attributes['value']) { if ($request_attributes['value']) {
// establish version to work with
$v = $request_attributes['value']['version'];
if ($v) $version = $v;
// establish callback to use // establish callback to use
if ($request_attributes['value']['callback']) { if ($request_attributes['value']['callback']) {
$url = $request_attributes['value']['callback']; $url = $request_attributes['value']['callback'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment