CentraSite Documentation : Runtime Governance with CentraSite : Virtualized APIs in CentraSite Business UI : Obtaining Your API Keys and Access Tokens for Consumption : Fetching and Using Your OAuth2 Access Tokens for Consumption
Fetching and Using Your OAuth2 Access Tokens for Consumption
 
Ways for Clients to Provide the Inputs
Using HTTPS for Granting Access Tokens
Responses Returned to Clients
If you will be using the OAuth 2.0 protocol and you have successfully registered as a consumer for an API, you should have received your OAuth2 client credentials (a client_id and client_secret).
Now you need to obtain an OAuth2 access token by passing your client credentials to the Mediator-hosted REST service mediator.oauth2.getOAuth2AccessToken. This service will provide an OAuth2 access token that you can subsequently include in your requests to call the API.
The service's input parameters are:
*client_id
*client_secret
*scope (optional). The scope value is the name of the virtual service. If the scope value is valid, Mediator obtains the access token. If no scope value is provided, Mediator provides the access token to the scope in which the client is allowed and adds the scope to the response. To pass the scope, pass it in the request body.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback