-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Oracle Marketing Cloud (Eloqua) Provider
- Loading branch information
Chaitanya Surapaneni
committed
Dec 13, 2018
1 parent
8347402
commit a66e2ba
Showing
6 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "Oracle Marketing Cloud", | ||
"desc": "Oracle Marketing Cloud personalizes customer experiences with marketing software including content marketing, social marketing, and data management.", | ||
"url": "https://login.eloqua.com/auth/oauth2", | ||
"oauth2": { | ||
"authorize": "/authorize", | ||
"access_token": { | ||
"url": "/token", | ||
"headers": { | ||
"Authorization": "Basic !BASE64{client_id}:{client_secret}!BASE64" | ||
} | ||
}, | ||
"refresh": { | ||
"url": "/token", | ||
"query": { | ||
"scope": "full", | ||
"grant_type": "refresh_token", | ||
"refresh_token": "{{refresh_token}}", | ||
"access_token": "{{token}}" | ||
}, | ||
"headers": { | ||
"Authorization": "Basic !BASE64{client_id}:{client_secret}!BASE64" | ||
} | ||
}, | ||
"request": { | ||
"headers": { | ||
"Authorization": "Bearer {{token}}" | ||
} | ||
} | ||
}, | ||
"href": { | ||
"docs": "http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/", | ||
"apps": "https://YOUR_BASESITE./apps/Cloud/Developer/App", | ||
"provider": "https://login.eloqua.com/" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
var me = { | ||
url: "https://login.eloqua.com/id", | ||
params: {}, | ||
fields: { | ||
name: function (me) { | ||
return me.user ? me.user.displayName : undefined; | ||
}, | ||
firstname: function (me) { | ||
return me.user ? me.user.firstName : undefined; | ||
}, | ||
lastname: function (me) { | ||
return me.user ? me.user.lasttName : undefined; | ||
}, | ||
email: function (me) { | ||
return me.user ? me.user.emailAddress : undefined; | ||
}, | ||
baseUrl: function (me) { | ||
return me.urls ? me.urls.base : undefined; | ||
}, | ||
apis: function (me) { | ||
return me.urls ? me.urls.apis : undefined; | ||
}, | ||
urls: function (me) { | ||
return me.urls ? me.urls : undefined; | ||
} | ||
} | ||
}; | ||
module.exports = me; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"settings": { | ||
"createApp": { | ||
"url": "https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/Developers/AppCloud/Develop/develop-apps.htm", | ||
"image": "config.png" | ||
}, | ||
"copyingKey": { | ||
"url": "https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/Developers/AppCloud/Develop/develop-apps.htm", | ||
"image": "keys.png" | ||
}, | ||
"install": { | ||
"href": { | ||
"provider": "https://login.eloqua.com/", | ||
"docs": "https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/Developers/get_started_lp.htm" | ||
} | ||
}, | ||
"sample": { | ||
"method": "get", | ||
"url": "/messages" | ||
} | ||
} | ||
} |