airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [09/30] airavata-php-gateway git commit: setting oauth token
Date Mon, 01 May 2017 17:17:13 GMT
setting oauth token


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/2c25f19c
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/2c25f19c
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/2c25f19c

Branch: refs/heads/dreg-gateway
Commit: 2c25f19cdb619c122239919f27515909b7f76147
Parents: 8a7330c
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Oct 31 15:03:18 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Oct 31 15:03:18 2016 -0400

----------------------------------------------------------------------
 app/controllers/AccountController.php | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2c25f19c/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 6a50124..0b883eb 100644
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -130,6 +130,7 @@ class AccountController extends BaseController
             $authzToken->claimsMap['gatewayID'] = Config::get('pga_config.airavata')['gateway-id'];
             $authzToken->claimsMap['userName'] = $username;
 
+            Session::put('oauth-token', $authzToken->accessToken);
             Session::put('authz-token',$authzToken);
             Session::put('oauth-refresh-code',$refreshToken);
             Session::put('oauth-expiration-time',$expirationTime);


Mime
View raw message