Sha256: e04c485e7f03bd0a65a9e86d943072a789193fdbfe606d916cd5132bf5c35b69

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: <HOST_URI>:5000/v2.0/tokens
    body:
      encoding: UTF-8
      string: ! '{"auth":{"passwordCredentials":{"username":"admin","password":"<PASSWORD>"}}}'
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - Faraday v0.8.8
  response:
    status:
      code: 200
      message: 
    headers:
      vary:
      - X-Auth-Token
      content-type:
      - application/json
      content-length:
      - '329'
      date:
      - Wed, 28 Aug 2013 23:22:15 GMT
      connection:
      - close
    body:
      encoding: US-ASCII
      string: ! '{"access": {"token": {"issued_at": "2013-08-28T23:22:14.173834",
        "expires": "2013-08-29T23:22:14Z", "id": "b6dc4f3d16af47599a4b17e3335d33cd"},
        "serviceCatalog": [], "user": {"username": "admin", "roles_links": [], "id":
        "cbbcc4f7aef6435fa2da7e5f0b2f1e97", "roles": [], "name": "admin"}, "metadata":
        {"is_admin": 0, "roles": []}}}'
    http_version: 
  recorded_at: Wed, 28 Aug 2013 23:20:15 GMT
recorded_with: VCR 2.5.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aviator-0.0.2 test/cassettes/core/session/i_authenticate/authenticates_against_the_auth_service_using_the_credentials_in_the_given_block.yml