Retrieve Access Token The authorization server maintains the list of tokens that it has issued. The tokens can be retrieved using the REST API. The following are the REST APIs to retrieve the tokens: Retrieving all tokens GET /asg/oauth2/access_token/owners HTTP/1.1 Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW Host: server.example.com Retrieving tokens for specific owner GET /asg/oauth2/access_token/{ownerID} HTTP/1.1 Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW Host: server.example.com Retrieve Token Response Example The response of the API is list of tokens in JSON format. The example of the response of the API call is as follows: [ { … } { "id": "f0c997d31db2f8945ef63115d04783", "owner": "uid=john,ou=owner,dc=tibco,dc=com", "client": "playground", "scopes": "public", "accessToken": "3f8f4bfe51b7a99455e3a6bfccaf12b5", "refreshToken": "e118715f2783d1cfe11e17e5c4b93318", "createdOn": 1381246937747, "expiresOn": 1381250541022, "callback": "https://appHost:8080/site/client/callback", "contact": "John Doe", "email": “john.doe@tibco.com", "stringId": "f0c997d31db2f8945ef63115d04783" } { … } ]