Skip to content

Instantly share code, notes, and snippets.

@mox601
Last active January 27, 2016 09:45
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 mox601/d490c85f2be299be6e1d to your computer and use it in GitHub Desktop.
Save mox601/d490c85f2be299be6e1d to your computer and use it in GitHub Desktop.
check
  • Header Authorization Token di autorizzazione Alfanumerico 100

Il token passato nell’header deve esser stato ottenuto attraverso un’autenticazione con credenziali applicative (application key)

  • FormParam token Token di cui va verificata l’autenticità Alfanumerico 100
{
"valid": "true",
"expires_in": 3600,
"custom_id": "12345678990",
"user": {
"id": 12,
"email": "m.rossi@ gmail.com",
"fist_name": "Mario",
"last_name": "Rossi",
"nickname": "m.rossi",
"company": "Telecom Italia",
"author": "XXX S.p.A.",
"author_thumbnail_uri": "http: //xxx.jpg",
"sa": false,
"notify": false,
"phone": "123456789",
"login_key": "123456789"
},
"application_key": {
"id": 1234,
"application_id": "1234567890 - p1234",
"description": "QWERTYASDFGH",
"type": "AKN"
},
"grants": [{
"saas_id": 6,
"saas_name": "SERVICE WAZUP",
"saas_description": "SERVICE WAZUP",
"saas_status": "DP",
"saas_version": 1,
"grant_type": "SA",
"dismission_date": "2015 - 08 - 01",
"grant_status": "A",
"bb": false,
"test": false,
"infrastructural": false,
"saas_thumbnail_uri": "http: //image.jpg",
"saas_diagnostic_status": "OK",
"saas_diagnostic_level": "100",
"saas_diagnostic_date": "2014 - 06 - 17 16: 45: 44"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment