59 строки
1.8 KiB
JSON
59 строки
1.8 KiB
JSON
{
|
|
"properties": {
|
|
"capabilities": [
|
|
"actions",
|
|
"triggers"
|
|
],
|
|
"connectionParameters": {
|
|
"token": {
|
|
"oAuthSettings": {
|
|
"clientId": "Flow",
|
|
"customParameters": {
|
|
"authorizationUrlTemplate": {
|
|
"value": "https://app.getaccept.com/oauth2/authorize"
|
|
},
|
|
"tokenUrlTemplate": {
|
|
"value": "https://app.getaccept.com/oauth2/token"
|
|
},
|
|
"refreshUrlTemplate": {
|
|
"value": "https://app.getaccept.com/oauth2/token"
|
|
},
|
|
"refreshBodyTemplate": {
|
|
"value": "client_id={ClientId}&scope={Scopes}&refresh_token={RefreshToken}&redirect_uri={RedirectUrl}&grant_type=refresh_token&client_secret={ClientSecret}"
|
|
},
|
|
"scopeListDelimiter": {
|
|
"value": " "
|
|
}
|
|
},
|
|
"identityProvider": "oauth2generic",
|
|
"properties": {
|
|
"IsFirstParty": false
|
|
},
|
|
"redirectMode": "Global",
|
|
"redirectUrl": "https://global.consent.azure-apim.net/redirect",
|
|
"scopes": [
|
|
"basic"
|
|
]
|
|
},
|
|
"type": "oauthSetting"
|
|
}
|
|
},
|
|
"iconBrandColor": "#393A42",
|
|
"publisher": "GetAccept, Inc.",
|
|
"policyTemplateInstances": [
|
|
{
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateDocument"
|
|
],
|
|
"x-ms-apimTemplate-policySection": "Response",
|
|
"x-ms-apimTemplateParameter.existsAction": "override",
|
|
"x-ms-apimTemplateParameter.name": "Content-Encoding",
|
|
"x-ms-apimTemplateParameter.value": "deflate"
|
|
},
|
|
"templateId": "setheader",
|
|
"title": "Set Content-Encoding"
|
|
}
|
|
]
|
|
}
|
|
} |