Sha256: 5c5b01a822dd0fa66e8c0eac9257d65c1060eb99ed993a2f77657c780db67939

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":"<USERNAME>","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:
      - Thu, 29 Aug 2013 18:32:34 GMT
      connection:
      - close
    body:
      encoding: US-ASCII
      string: ! '{"access": {"token": {"issued_at": "2013-08-29T18:32:34.216430",
        "expires": "2013-08-30T18:32:34Z", "id": "217d313bbab14553b86672cfce916b01"},
        "serviceCatalog": [], "user": {"username": "admin", "roles_links": [], "id":
        "cbbcc4f7aef6435fa2da7e5f0b2f1e97", "roles": [], "name": "admin"}, "metadata":
        {"is_admin": 0, "roles": []}}}'
    http_version: 
  recorded_at: Thu, 29 Aug 2013 18:30:24 GMT
recorded_with: VCR 2.5.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aviator-0.0.3 test/cassettes/openstack/identity/v2/public/create_token/leads_to_a_valid_response_when_parameters_are_valid.yml