Tiny improvements.

This commit is contained in:
İrfan Evrens
2015-06-25 23:08:11 +03:00
parent 18e4eaaf31
commit cefecede81
26 changed files with 73 additions and 45 deletions

View File

@@ -12,13 +12,15 @@ class OpenIdSession
* Returns the PayPal URL to which the user must be redirected to
* start the authentication / authorization process.
*
* @param string $redirectUri Uri on merchant website to where
* @param string $redirectUri Uri on merchant website to where
* the user must be redirected to post paypal login
* @param array $scope The access privilges that you are requesting for
* @param array $scope The access privilges that you are requesting for
* from the user. Pass empty array for all scopes.
* @param string $clientId client id from developer portal
* @param string $clientId client id from developer portal
* See https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/detailed/#attributes for more
* @param ApiContext $apiContext Optional API Context
* @param null $nonce
* @param null $state
* @param ApiContext $apiContext Optional API Context
* @return string Authorization URL
*/
public static function getAuthorizationUrl($redirectUri, $scope, $clientId, $nonce = null, $state = null, $apiContext = null)