You are here

public function OAuthStoreSession::addServerToken in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::addServerToken()
  2. 7.2 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::addServerToken()
  3. 7.3 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::addServerToken()
  4. 7.5 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::addServerToken()
  5. 7.6 lib/oauth-php/library/store/OAuthStoreSession.php \OAuthStoreSession::addServerToken()

Overrides OAuthStoreAbstract::addServerToken

File

lib/oauth-php/library/store/OAuthStoreSession.php, line 92

Class

OAuthStoreSession

Code

public function addServerToken($consumer_key, $token_type, $token, $token_secret, $user_id, $options = array()) {
  $this->session['token_type'] = $token_type;
  $this->session['token'] = $token;
  $this->session['token_secret'] = $token_secret;
}