¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
token check
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-07-06 (¼ö) 17:21 Á¶È¸ : 2825
                                
Liberty
# curl -i   -H "Content-Type: application/json"   -d '
{ "auth": {
    "identity": {
      "methods": ["password"],
      "password": {
        "user": {
          "name": "CHONNOM",
          "domain": { "id": "default" },
          "password": "XXXXXXXXX"
        }
      }
    }
  }
}'   http://con-210-21:5000/v3/auth/tokens ; echo


HTTP/1.1 201 Created
Date: Wed, 06 Jul 2016 08:20:12 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Subject-Token: 53ac971b60a147d5953eb5a5bae0941d
Vary: X-Auth-Token
X-Distribution: Ubuntu
x-openstack-request-id: req-8a8d18ee-e368-4b5a-acd4-53e59f55fea8
Content-Length: 296
Content-Type: application/json

{"token": {"methods": ["password"], "expires_at": "2016-07-06T09:20:12.110383Z", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "162a470132fe4dde90ed8dce9752ec4a", "name": "CHONNOM"}, "audit_ids": ["T2GkVTn1TU29gDKbkRdo1g"], "issued_at": "2016-07-06T08:20:12.110404Z"}}



Mitaka
# curl -i   -H "Content-Type: application/json"   -d '
{ "auth": {
    "identity": {
      "methods": ["password"],
      "password": {
        "user": {
          "id": "d53e7a93b05342e9a0792505df497894",
          "domain": { "id": "default" },
          "password": "XXXXXXXXX"
        }
      }
    }
  }
}'   http://con-210-44:5000/v3/auth/tokens ; echo
HTTP/1.1 201 Created
Date: Wed, 06 Jul 2016 08:23:39 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Subject-Token: gAAAAABXfMALsU6QPrfpDPBh5BiStWTyq_Qb67k3EBGGZEHT0QlDmydaVHce6Gf9NkgddFKDpso7td7devM3SWaFixS3rdoRRAD7e6rD8YPVTs7b1B2MvbHZJP8pXf5U_6xPnKODlmGVSEtFjq1DPW8-mWhrwRpTOw
Vary: X-Auth-Token
X-Distribution: Ubuntu
x-openstack-request-id: req-f1cb9c6a-4578-4e28-b29a-08882834f055
Content-Length: 307
Content-Type: application/json

{"token": {"issued_at": "2016-07-06T08:23:39.000000Z", "audit_ids": ["o-QkKoLXQMuUsHjSrhPqYQ"], "methods": ["password"], "expires_at": "2016-07-06T09:23:39.954508Z", "user": {"domain": {"id": "e259684553134c258a0b4345447252b3", "name": "default"}, "id": "d53e7a93b05342e9a0792505df497894", "name": "CHONNOM"}}}


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.