EOAuth2Service.php
protected function getTokenUrl($code) {
		return $this->providerOptions['access_token'] . '?client_id=' . $this->client_id . '&client_secret=' . $this->client_secret . '&code=' . $code . '&redirect_uri=' . urlencode($this->getState('redirect_uri'));
	}
protected function getTokenUrl($code) {
		return $this->providerOptions['access_token'] . '?client_id=' . $this->client_id . '&client_secret=' . $this->client_secret . '&code=' . $code . '&redirect_uri=' . urlencode($this->getState('redirect_uri'));
	}
protected function getTokenUrl ( $ code ) { return $ this -> providerOptions [ 'access_token' ] . '?client_id=' . $ this -> client_id . '&client_secret=' . $ this -> client_secret . '&code=' . $ code . '&redirect_uri=' . urlencode ( $ this -> getState ( 'redirect_uri' ) ) ; }
Returns the url to request to get OAuth2 access token.

@param string $code
@return string url to request.
Returns the url to request to get OAuth2 access token .