Hi Alok
What you are already using apim for, is that to get the security definition of the API that's currently protected ?
I presume you want to automatically consume the API security requirements for some testing (and not an end user), the API itself has the documentation in it what scope you should use for that API, or do you want to really understand the OAuth provider available scopes
------------------------------
Tom van Oppens
------------------------------