File tree Expand file tree Collapse file tree 2 files changed +28
-5
lines changed
components/launch_darkly_oauth Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 1+ import launchdarkly from "../launchdarkly/launchdarkly.app.mjs" ;
2+
13export default {
2- type : "app" ,
4+ ... launchdarkly ,
35 app : "launch_darkly_oauth" ,
4- propDefinitions : { } ,
56 methods : {
6- // this.$auth contains connected account data
7- authKeys ( ) {
8- console . log ( Object . keys ( this . $auth ) ) ;
7+ ...launchdarkly . methods ,
8+ getHeaders ( headers ) {
9+ return {
10+ "Content-Type" : "application/json" ,
11+ ...headers ,
12+ "Authorization" : `Bearer ${ this . $auth . oauth_access_token } ` ,
13+ } ;
914 } ,
1015 } ,
1116} ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @pipedream/launch_darkly_oauth" ,
3+ "version" : " 0.0.1" ,
4+ "description" : " Pipedream LaunchDarkly (OAuth) Components" ,
5+ "main" : " launch_darkly_oauth.app.mjs" ,
6+ "keywords" : [
7+ " pipedream" ,
8+ " launch_darkly_oauth"
9+ ],
10+ "homepage" : " https://pipedream.com/apps/launch_darkly_oauth" ,
11+ "author" :
" Pipedream <[email protected] > (https://pipedream.com/)" ,
12+ "publishConfig" : {
13+ "access" : " public"
14+ },
15+ "dependencies" : {
16+ "@pipedream/platform" : " ^3.0.3"
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments