--- http_interactions: - request: method: get uri: http://api.brightbox.dev/1.0/accounts body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth e75c77ba85740b2d572e15bbe75595ffc7f5814a Content-Type: - application/json response: status: code: 401 message: headers: WWW-Authenticate: - OAuth error="invalid_token" Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge Cache-Control: - no-cache X-Request-Id: - 31d084f3811fc78539e2b6d6720db955 X-Runtime: - '0.021694' Date: - Wed, 28 Aug 2013 14:50:08 GMT Connection: - close body: encoding: UTF-8 string: '{"error":"invalid_token","error_description":"The OAuth token can not be found"}' http_version: recorded_at: Wed, 28 Aug 2013 14:50:08 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '246' X-UA-Compatible: - IE=Edge X-Request-Id: - e2a8b99acd546ea210ac0ddfa7eda29a X-Runtime: - '0.036263' Date: - Wed, 28 Aug 2013 14:50:08 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"invalid_client","error_description":"The client identifier provided is invalid, the client failed to authenticate, the client did not include its credentials, provided multiple client credentials, or used unsupported credentials type."}' http_version: recorded_at: Wed, 28 Aug 2013 14:50:08 GMT - request: method: get uri: http://api.brightbox.dev/1.0/accounts body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - 'OAuth ' Content-Type: - application/json response: status: code: 401 message: headers: WWW-Authenticate: - OAuth error="invalid_token" Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge Cache-Control: - no-cache X-Request-Id: - 35e1a633bbbbdeaadfdf3525a604f6c3 X-Runtime: - '0.031974' Date: - Wed, 28 Aug 2013 14:50:08 GMT Connection: - close body: encoding: UTF-8 string: '{"error":"invalid_token","error_description":"The OAuth token can not be found"}' http_version: recorded_at: Wed, 28 Aug 2013 14:50:08 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"refresh_token","refresh_token":"a05c73351bbbc8d3abba9cf175733aec22a5cb71"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 200 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '136' X-UA-Compatible: - IE=Edge ETag: - '"3cd6434c4948eb2d268a83170ff990df"' X-Request-Id: - 9de22005af6eab81140fb89576384088 X-Runtime: - '0.151009' Date: - Wed, 28 Aug 2013 14:50:09 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"access_token":"d003e4f0970b948af8e35d3ed9f3531cdd6e2154","expires_in":7200,"refresh_token":"dcd32790159f852756dadf8bed12cc3369c7b448"}' http_version: recorded_at: Wed, 28 Aug 2013 14:50:09 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '246' X-UA-Compatible: - IE=Edge X-Request-Id: - 01e9c239539b79709c9524f68d163a61 X-Runtime: - '0.023087' Date: - Wed, 28 Aug 2013 14:54:24 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"invalid_client","error_description":"The client identifier provided is invalid, the client failed to authenticate, the client did not include its credentials, provided multiple client credentials, or used unsupported credentials type."}' http_version: recorded_at: Wed, 28 Aug 2013 14:54:24 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - b9571a3681983e673439dde3d7709ec4 X-Runtime: - '0.098153' Date: - Wed, 18 Sep 2013 15:18:57 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Wed, 18 Sep 2013 15:18:57 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - 52320124aa1cc2954e5e4da118b84c17 X-Runtime: - '0.099663' Date: - Wed, 18 Sep 2013 15:18:57 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Wed, 18 Sep 2013 15:18:57 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"refresh_token","refresh_token":"a05c73351bbbc8d3abba9cf175733aec22a5cb71"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '250' X-UA-Compatible: - IE=Edge X-Request-Id: - 94d91112091331f9e7839b299d45bfea X-Runtime: - '0.103908' Date: - Wed, 18 Sep 2013 15:19:02 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"invalid_grant","error_description":"The provided access grant is invalid, expired, or revoked (e.g. invalid assertion, expired authorization token, bad end-user password credentials, or mismatching authorization code and redirection URI)."}' http_version: recorded_at: Wed, 18 Sep 2013 15:19:02 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":""}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 401 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store WWW-Authenticate: - Basic realm="api.gb1.brightbox.com" Content-Length: - '26' X-UA-Compatible: - IE=Edge X-Request-Id: - bd5822ebd1e2be8bbbd3b799c87b397d X-Runtime: - '0.105946' Date: - Wed, 18 Sep 2013 15:19:35 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"invalid_client"}' http_version: recorded_at: Wed, 18 Sep 2013 15:19:35 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"refresh_token","refresh_token":"6846e655733a4fc36913c6c7e7bf8cb8fe7940b8"}' headers: User-Agent: - fog-core/1.32.1 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: Content-Type: - application/json Cache-Control: - no-store Content-Length: - '250' X-Content-Type-Options: - nosniff X-Ua-Compatible: - IE=Edge X-Request-Id: - 971f3fc1ae009572f5d2cef69846285a X-Runtime: - '0.435538' Server: - WEBrick/1.3.1 (Ruby/1.9.3/2014-11-13) Date: - Mon, 19 Oct 2015 15:08:07 GMT Connection: - Keep-Alive body: encoding: UTF-8 string: '{"error":"invalid_grant","error_description":"The provided access grant is invalid, expired, or revoked (e.g. invalid assertion, expired authorization token, bad end-user password credentials, or mismatching authorization code and redirection URI)."}' http_version: recorded_at: Mon, 19 Oct 2015 15:08:07 GMT recorded_with: VCR 2.5.0