Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit add26ec

Browse files
committed
Removed outgoingApplicationSid
1 parent 8999f12 commit add26ec

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

rest/access-tokens/sync-example/sync-example.3.x.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const twilioApiKey = process.env.TWILIO_API_KEY;
88
const twilioApiSecret = process.env.TWILIO_API_SECRET;
99

1010
// Used specifically for creating Sync tokens
11-
const outgoingApplicationSid = 'APxxxxxxxxxxxxx';
1211
const identity = 'user';
1312

1413
// Create a "grant" which enables a client to use Sync as a given user

rest/access-tokens/sync-example/sync-example.5.x.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ static void Main(string[] args)
1313
const string twilioApiSecret = Environment.GetEnvironmentVariable("TWILIO_API_SECRET");
1414

1515
// These are specific to Sync
16-
const string outgoingApplicationSid = "APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
1716
const string identity = "user";
1817

1918
// Create a Sync grant for this token

rest/access-tokens/sync-example/sync-example.5.x.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
$twilioApiSecret = getenv('TWILIO_API_KEY_SECRET');
1212

1313
// Required for Sync grant
14-
$outgoingApplicationSid = 'APxxxxxxxxxxxx';
1514
// An identifier for your app - can be anything you'd like
1615
$identity = "john_doe";
1716

rest/access-tokens/sync-example/sync-example.5.x.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
# Create Sync grant for our token
1414
grant = Twilio::JWT::AccessToken::SyncGrant.new
15-
grant.outgoing_application_sid = outgoing_application_sid
1615

1716
# Optional: add to allow incoming calls
1817
grant.incoming_allow = true

rest/access-tokens/sync-example/sync-example.6.x.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
api_secret = os.environ['TWILIO_API_KEY_SECRET']
1010

1111
# required for Sync grant
12-
outgoing_application_sid = 'APxxxxxxxxxxxxx'
1312
identity = 'user'
1413

1514
# Create access token with credentials

rest/access-tokens/sync-example/sync-example.8.x.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public static void main(String[] args) {
1212
String twilioApiSecret = System.getenv("TWILIO_API_SECRET");
1313

1414
// Required for Sync
15-
String outgoingApplicationSid = System.getenv("TWILIO_APP_SID");
1615
String identity = "user";
1716

1817
// Create Sync grant

0 commit comments

Comments
 (0)