public function OAuthStoreSession::getServer in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::getServer()
- 7.2 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::getServer()
- 7.3 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::getServer()
- 7.5 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::getServer()
- 7.6 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::getServer()
Overrides OAuthStoreAbstract::getServer
File
- lib/
oauth-php/ library/ store/ OAuthStoreSession.php, line 100
Class
Code
public function getServer($consumer_key, $user_id, $user_is_admin = false) {
return array(
'id' => 0,
'user_id' => $user_id,
'consumer_key' => $this->session['consumer_key'],
'consumer_secret' => $this->session['consumer_secret'],
'signature_methods' => $this->session['signature_methods'],
'server_uri' => $this->session['server_uri'],
'request_token_uri' => $this->session['request_token_uri'],
'authorize_uri' => $this->session['authorize_uri'],
'access_token_uri' => $this->session['access_token_uri'],
);
}