Skip to content

Instantly share code, notes, and snippets.

@kidster
Created March 5, 2015 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kidster/155eb2511b6bf791192b to your computer and use it in GitHub Desktop.
Save kidster/155eb2511b6bf791192b to your computer and use it in GitHub Desktop.
v2 authenticate
{
"access": {
"metadata": {
"is_admin": 0,
"roles": [
"aef47300eb094a738645be293223b4e1",
"816ed64d764649c5995bec390c256635"
]
},
"serviceCatalog": [],
"token": {
"audit_ids": [
"ILDP0unzS4GoXaQq9qJqCg"
],
"expires": "2015-03-05T17:22:54Z",
"id": "7577805877854ea9a4e9b8f392205dc2",
"issued_at": "2015-03-05T16:22:54.069178",
"tenant": {
"description": "description",
"enabled": true,
"id": "c309a28698704763a700c8401ed46083",
"name": "test_project",
"parent_id": null
}
},
"user": {
"id": "6a8ce9cec4ae4fad853b3e8cc0bacecc",
"name": "testuser",
"roles": [
{
"name": "test_role"
},
{
"name": "admin"
}
],
"roles_links": [],
"username": "testuser"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment