Sha256: 8a14d1ba698f4f2d33fcfebc31ca3e8c2ccfc47e9f59d7c09a99c87c0cee5978

Contents?: true

Size: 1.85 KB

Versions: 11

Compression:

Stored size: 1.85 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.boletosimples.com.br/api/v1/oauth2/token
    body:
      encoding: UTF-8
      string: '{"grant_type":"client_credentials","client_id":"app-id","client_secret":"app-secret"}'
    headers:
      User-Agent:
      - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 401
      message: Unauthorized
    headers:
      Server:
      - Cowboy
      Connection:
      - keep-alive
      Strict-Transport-Security:
      - max-age=2592000
      Cache-Control:
      - no-store
      Pragma:
      - no-cache
      Content-Type:
      - application/json; charset=utf-8
      Www-Authenticate:
      - !binary |-
        QmVhcmVyIHJlYWxtPSJCb2xldG9TaW1wbGVzIiwgZXJyb3I9ImludmFsaWRf
        Y2xpZW50IiwgZXJyb3JfZGVzY3JpcHRpb249IkF1dGVudGljYcOnw6NvIGRv
        IGNsaWVudGUgZmFsaG91IGRldmlkbyBow6EgdW0gY2xpZW50ZSBkZXNjb25o
        ZWNpZG8sIG5lbmh1bSBjbGllbnRlIGRlIGF1dGVudGljYcOnw6NvIGluY2x1
        c28sIG91IG3DqXRvZG8gZGUgYXV0ZW50aWNhw6fDo28gbsOjbyBzdXBvcnRh
        ZG8uIg==
      X-Request-Id:
      - c694e3a4-3021-40b6-94f4-b8e8d8bac941
      X-Runtime:
      - '0.014012'
      Date:
      - Sun, 08 Mar 2015 19:58:22 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"error":"invalid_client","error_description":"Autenticação do cliente
        falhou devido há um cliente desconhecido, nenhum cliente de autenticação incluso,
        ou método de autenticação não suportado."}'
    http_version: 
  recorded_at: Sun, 08 Mar 2015 19:58:21 GMT
recorded_with: VCR 2.9.3

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
boletosimples-0.6.0 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.5.0 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.4.2 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.4.1 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.4.0 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.3.1 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.3.0 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.2.3 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.2.2 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.2.0 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml
boletosimples-0.1.1 spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml