Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deck of Cards
idbimGetTokenInfo
Card
labelHTTP Method
 GET
Card
defaulttrue
labelURL / Resource / JSON Structure
 

Resource: tokeninfo?access_token=<token>authorize

URLhttps://api.bimplus.net/v2/tokeninfo?access_token=<token>Example:authorize 

Card
labelDescription
 Get information about a specified token(if the specified token exists and not expired).
Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Content-Type: application/json

Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 200 OK
Code Block
borderColorRed
titleJSON
langxml
{
    "user_id": "b37b60d4-0f1b-4158-99c4-847254786517",
    "audience": "00000000-0000-0000-0000-000000000000",
    "expires_in": 2271650

} 

where,

Name

Type

Description

user_id

string

The unique user id to be used for any further API calls.

expires_in

string

The remaining lifetime on the access token in seconds

audience

string

In our case the id of the client (Mobile app, Browser …)

...