public function getOAuthToken()
    {
        if (!$this->isStateless()) {
            return \Cache::get('oauth.temp');
        } else {
            /** @var TemporaryCredentials $temp */
            $temp = unserialize(\Cache::get('oauth_temp'));

            return $temp->getIdentifier();
        }
    }
public function getOAuthToken()
    {
        if (!$this->isStateless()) {
            return \Cache::get('oauth.temp');
        } else {
            /** @var TemporaryCredentials $temp */
            $temp = unserialize(\Cache::get('oauth_temp'));

            return $temp->getIdentifier();
        }
    }
public function getOAuthToken ( ) { if ( ! $ this -> isStateless ( ) ) { return \ Cache :: get ( 'oauth.temp' ) ; } else { /** @var TemporaryCredentials $temp */ $ temp = unserialize ( \ Cache :: get ( 'oauth_temp' ) ) ; return $ temp -> getIdentifier ( ) ; } }
Returns oauth token used in last authorization process.

@return string
Returns oauth token used in last authorization process .