Versions Compared

Key

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

...

Deck of Cards
idbimGetTokenInfo
Card
labelImplementation Status

 Service available !

Card
labelHTTP Method

GET

Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: tokeninfo?access_token=<token>

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

Example

Card
labelDescription

Get information about a specified token.

Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
{
    "user_id": "b37b60d4-0f1b-4158-99c4-847254786517",
    "audience": "00000000-0000-0000-0000-000000000000",
    "expires_in": 2271650
}

where,
where,

user_id

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

expires_in

The remaining lifetime on the access token in seconds

audience

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


Anchor
expireToken
expireToken

...