spec/fixtures/requests/access_token.yml in linkedin2-0.0.3 vs spec/fixtures/requests/access_token.yml in linkedin2-0.0.4

- old
+ new

@@ -1,37 +1,70 @@ --- http_interactions: - request: method: post - uri: https://api.linkedin.com/uas/oauth/accessToken + uri: https://www.linkedin.com/uas/oauth2/accessToken?format=json body: - encoding: US-ASCII - string: '' + encoding: UTF-8 + string: grant_type=authorization_code&code=AQRRBkP22yUFufYkxyFDgxg59jTJTMy4jCsp_2tz5W6CcEZ11gRysjPxbelKAXcXrcfDXKAyDZCctqzWsn-sYDB-galvVu192PkDGXI-lQh2-xq5AbM&client_id=f7cq90292zdf&client_secret=h97K0YuF0KCnx4kW&state=QrAOpIcMEEkqkFhPNPBpxBjoalApSrTdroLGGDWaCkqrdGKziH&redirect_uri=http%3A%2F%2Flocalhost.com headers: User-Agent: - - OAuth gem v0.4.4 - Authorization: - - OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="eAI15DqRUTTd7OuQJBG3Mo0aw2Ekx5yoLX3x3NaLnbTnZbaU46OEii7uNTKijII4", - oauth_nonce="ztYyddIoKJ8flDjBJyveOSqm96CLaEM4QpOC0CSW0E", oauth_signature="NSp3ZDtycelP7wsDM7dsuDTZGys%3D", - oauth_signature_method="HMAC-SHA1", oauth_timestamp="1297095033", oauth_token="2f5b42dd-1e0e-4f8f-a03c-1e510bde5935", - oauth_verifier="25038", oauth_version="1.0" - Content-Length: - - '0' + - Faraday v0.8.8 + Content-Type: + - application/x-www-form-urlencoded response: status: code: 200 - message: OK + message: headers: - Content-Type: - - text/plain - Server: + server: - Apache-Coyote/1.1 - Date: - - Mon, 07 Feb 2011 16:10:34 GMT - Content-Length: - - '156' + p3p: + - CP="CAO DSP COR CUR ADMi DEVi TAIi PSAi PSDi IVAi IVDi CONi OUR DELi SAMi + UNRi PUBi OTRi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT POL PRE" + x-li-uuid: + - R9Fiq98P6oKapbEme8kcTw== + vary: + - Accept-Encoding + content-type: + - application/json;charset=UTF-8 + content-language: + - en-US + content-length: + - '219' + date: + - Sun, 13 Oct 2013 19:58:00 GMT + x-li-fabric: + - PROD-ELA4 + access-control-allow-origin: + - https://www.linkedin.com + set-cookie: + - _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/, leo_auth_token="GST:8zAnyikKuhU_QXD8caLFg5R6Shfg4nvQwTAFyUkoWhfoCnP0vYCB2T:1381694281:027f4c0540de42a5015b97b34d6fdb35a3f6cde1"; + Version=1; Max-Age=1799; Expires=Sun, 13-Oct-2013 20:28:00 GMT; Path=/, sl="delete + me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/, + sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu, + 01-Jan-1970 00:00:10 GMT; Path=/, s_leo_auth_token="delete me"; Version=1; + Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/, JSESSIONID="ajax:7115608698667287816"; + Version=1; Path=/, visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Tue, + 13-Oct-2015 19:58:01 GMT; Path=/, lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; + Path=/, bcookie="v=2&2ae0fd35-d407-46fe-8106-8f393d734de0"; domain=.linkedin.com; + Path=/; Expires=Wed, 14-Oct-2015 07:35:33 GMT, bscookie="v=1&20131013195801a1d173a8-de6e-4c88-8566-07e358e74e94AQGbJ5HTwrq6Oj8iv3TepmjPiLZ_KHDn"; + domain=.www.linkedin.com; Path=/; Secure; Expires=Wed, 14-Oct-2015 07:35:33 + GMT; HttpOnly, X-LI-IDC=C1 + pragma: + - no-cache + expires: + - Thu, 01 Jan 1970 00:00:00 GMT + cache-control: + - no-cache, no-store + age: + - '1' + connection: + - keep-alive + x-li-pop: + - PROD-ELA4 body: encoding: UTF-8 - string: oauth_token=28774cd4-fbe1-4e6e-a05e-1243f6471933&oauth_token_secret=2fafe259-976e-41ad-a6f5-d26bbba42923&oauth_expires_in=0&oauth_authorization_expires_in=0 - http_version: '1.1' - recorded_at: Wed, 10 Apr 2013 22:06:51 GMT + string: '{"expires_in":5183999,"access_token":"AQUJwEF40pJUbVxsW_mujQ3QCiXvlTnMFk55SlfVPYRcAPdsn1oE1Hm8Ldlc61o57k96i04ufG81KFdPJIOSJswXsGyZ0tk9IMZea8sfNXMGMnZgikQJUQPkmRVYVw9BP1qH9tp7hJF32DQtzkBB_NE8xPASPVgXVWbbntChGyYqqDvF1p8"}' + http_version: + recorded_at: Sun, 13 Oct 2013 19:58:08 GMT recorded_with: VCR 2.5.0