Skip to content

Commit 5f9e3a0

Browse files
committed
remove oauth
1 parent 845bcff commit 5f9e3a0

27 files changed

+102
-281
lines changed

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ Bandwidth.configure do |config|
8585
config.password = 'YOUR_PASSWORD'
8686
# Configure faraday connection
8787
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
88-
89-
# Configure OAuth2 access token for authorization: OAuth2
90-
config.access_token = 'YOUR ACCESS TOKEN'
91-
# Configure a proc to get access tokens in lieu of the static access_token configuration
92-
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
93-
# Configure faraday connection
94-
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
9588
end
9689

9790
api_instance = Bandwidth::CallsApi.new
@@ -344,11 +337,3 @@ Authentication schemes defined for the API:
344337

345338
- **Type**: HTTP basic authentication
346339

347-
### OAuth2
348-
349-
350-
- **Type**: OAuth
351-
- **Flow**: application
352-
- **Authorization URL**:
353-
- **Scopes**: N/A
354-

bandwidth.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ info:
99
version: 1.0.0
1010
security:
1111
- Basic: []
12-
- OAuth2: []
1312
tags:
1413
- name: Messages
1514
- name: Media
@@ -8372,12 +8371,6 @@ components:
83728371
83738372
83748373
- Example: `Authorization: Basic ZGVtbZpwQDU1dzByZA==`
8375-
OAuth2:
8376-
type: oauth2
8377-
flows:
8378-
clientCredentials:
8379-
tokenUrl: https://api.bandwidth.com/api/v1/oauth2/token
8380-
scopes: {}
83818374
callbacks:
83828375
inboundCallback:
83838376
'{inboundCallbackUrl}':

docs/CallsApi.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ Bandwidth.configure do |config|
2929
# Configure HTTP basic authorization: Basic
3030
config.username = 'YOUR USERNAME'
3131
config.password = 'YOUR PASSWORD'
32-
33-
# Configure OAuth2 access token for authorization: OAuth2
34-
config.access_token = 'YOUR ACCESS TOKEN'
3532
end
3633

3734
api_instance = Bandwidth::CallsApi.new
@@ -78,7 +75,7 @@ end
7875

7976
### Authorization
8077

81-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
78+
[Basic](../README.md#Basic)
8279

8380
### HTTP request headers
8481

@@ -104,9 +101,6 @@ Bandwidth.configure do |config|
104101
# Configure HTTP basic authorization: Basic
105102
config.username = 'YOUR USERNAME'
106103
config.password = 'YOUR PASSWORD'
107-
108-
# Configure OAuth2 access token for authorization: OAuth2
109-
config.access_token = 'YOUR ACCESS TOKEN'
110104
end
111105

112106
api_instance = Bandwidth::CallsApi.new
@@ -153,7 +147,7 @@ end
153147

154148
### Authorization
155149

156-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
150+
[Basic](../README.md#Basic)
157151

158152
### HTTP request headers
159153

@@ -179,9 +173,6 @@ Bandwidth.configure do |config|
179173
# Configure HTTP basic authorization: Basic
180174
config.username = 'YOUR USERNAME'
181175
config.password = 'YOUR PASSWORD'
182-
183-
# Configure OAuth2 access token for authorization: OAuth2
184-
config.access_token = 'YOUR ACCESS TOKEN'
185176
end
186177

187178
api_instance = Bandwidth::CallsApi.new
@@ -242,7 +233,7 @@ end
242233

243234
### Authorization
244235

245-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
236+
[Basic](../README.md#Basic)
246237

247238
### HTTP request headers
248239

@@ -268,9 +259,6 @@ Bandwidth.configure do |config|
268259
# Configure HTTP basic authorization: Basic
269260
config.username = 'YOUR USERNAME'
270261
config.password = 'YOUR PASSWORD'
271-
272-
# Configure OAuth2 access token for authorization: OAuth2
273-
config.access_token = 'YOUR ACCESS TOKEN'
274262
end
275263

276264
api_instance = Bandwidth::CallsApi.new
@@ -318,7 +306,7 @@ nil (empty response body)
318306

319307
### Authorization
320308

321-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
309+
[Basic](../README.md#Basic)
322310

323311
### HTTP request headers
324312

@@ -344,9 +332,6 @@ Bandwidth.configure do |config|
344332
# Configure HTTP basic authorization: Basic
345333
config.username = 'YOUR USERNAME'
346334
config.password = 'YOUR PASSWORD'
347-
348-
# Configure OAuth2 access token for authorization: OAuth2
349-
config.access_token = 'YOUR ACCESS TOKEN'
350335
end
351336

352337
api_instance = Bandwidth::CallsApi.new
@@ -397,7 +382,7 @@ nil (empty response body)
397382

398383
### Authorization
399384

400-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
385+
[Basic](../README.md#Basic)
401386

402387
### HTTP request headers
403388

docs/ConferencesApi.md

Lines changed: 9 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ Bandwidth.configure do |config|
3333
# Configure HTTP basic authorization: Basic
3434
config.username = 'YOUR USERNAME'
3535
config.password = 'YOUR PASSWORD'
36-
37-
# Configure OAuth2 access token for authorization: OAuth2
38-
config.access_token = 'YOUR ACCESS TOKEN'
3936
end
4037

4138
api_instance = Bandwidth::ConferencesApi.new
@@ -84,7 +81,7 @@ end
8481

8582
### Authorization
8683

87-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
84+
[Basic](../README.md#Basic)
8885

8986
### HTTP request headers
9087

@@ -110,9 +107,6 @@ Bandwidth.configure do |config|
110107
# Configure HTTP basic authorization: Basic
111108
config.username = 'YOUR USERNAME'
112109
config.password = 'YOUR PASSWORD'
113-
114-
# Configure OAuth2 access token for authorization: OAuth2
115-
config.access_token = 'YOUR ACCESS TOKEN'
116110
end
117111

118112
api_instance = Bandwidth::ConferencesApi.new
@@ -159,7 +153,7 @@ end
159153

160154
### Authorization
161155

162-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
156+
[Basic](../README.md#Basic)
163157

164158
### HTTP request headers
165159

@@ -185,9 +179,6 @@ Bandwidth.configure do |config|
185179
# Configure HTTP basic authorization: Basic
186180
config.username = 'YOUR USERNAME'
187181
config.password = 'YOUR PASSWORD'
188-
189-
# Configure OAuth2 access token for authorization: OAuth2
190-
config.access_token = 'YOUR ACCESS TOKEN'
191182
end
192183

193184
api_instance = Bandwidth::ConferencesApi.new
@@ -236,7 +227,7 @@ end
236227

237228
### Authorization
238229

239-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
230+
[Basic](../README.md#Basic)
240231

241232
### HTTP request headers
242233

@@ -262,9 +253,6 @@ Bandwidth.configure do |config|
262253
# Configure HTTP basic authorization: Basic
263254
config.username = 'YOUR USERNAME'
264255
config.password = 'YOUR PASSWORD'
265-
266-
# Configure OAuth2 access token for authorization: OAuth2
267-
config.access_token = 'YOUR ACCESS TOKEN'
268256
end
269257

270258
api_instance = Bandwidth::ConferencesApi.new
@@ -313,7 +301,7 @@ end
313301

314302
### Authorization
315303

316-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
304+
[Basic](../README.md#Basic)
317305

318306
### HTTP request headers
319307

@@ -339,9 +327,6 @@ Bandwidth.configure do |config|
339327
# Configure HTTP basic authorization: Basic
340328
config.username = 'YOUR USERNAME'
341329
config.password = 'YOUR PASSWORD'
342-
343-
# Configure OAuth2 access token for authorization: OAuth2
344-
config.access_token = 'YOUR ACCESS TOKEN'
345330
end
346331

347332
api_instance = Bandwidth::ConferencesApi.new
@@ -388,7 +373,7 @@ end
388373

389374
### Authorization
390375

391-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
376+
[Basic](../README.md#Basic)
392377

393378
### HTTP request headers
394379

@@ -414,9 +399,6 @@ Bandwidth.configure do |config|
414399
# Configure HTTP basic authorization: Basic
415400
config.username = 'YOUR USERNAME'
416401
config.password = 'YOUR PASSWORD'
417-
418-
# Configure OAuth2 access token for authorization: OAuth2
419-
config.access_token = 'YOUR ACCESS TOKEN'
420402
end
421403

422404
api_instance = Bandwidth::ConferencesApi.new
@@ -473,7 +455,7 @@ end
473455

474456
### Authorization
475457

476-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
458+
[Basic](../README.md#Basic)
477459

478460
### HTTP request headers
479461

@@ -499,9 +481,6 @@ Bandwidth.configure do |config|
499481
# Configure HTTP basic authorization: Basic
500482
config.username = 'YOUR USERNAME'
501483
config.password = 'YOUR PASSWORD'
502-
503-
# Configure OAuth2 access token for authorization: OAuth2
504-
config.access_token = 'YOUR ACCESS TOKEN'
505484
end
506485

507486
api_instance = Bandwidth::ConferencesApi.new
@@ -549,7 +528,7 @@ nil (empty response body)
549528

550529
### Authorization
551530

552-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
531+
[Basic](../README.md#Basic)
553532

554533
### HTTP request headers
555534

@@ -575,9 +554,6 @@ Bandwidth.configure do |config|
575554
# Configure HTTP basic authorization: Basic
576555
config.username = 'YOUR USERNAME'
577556
config.password = 'YOUR PASSWORD'
578-
579-
# Configure OAuth2 access token for authorization: OAuth2
580-
config.access_token = 'YOUR ACCESS TOKEN'
581557
end
582558

583559
api_instance = Bandwidth::ConferencesApi.new
@@ -628,7 +604,7 @@ nil (empty response body)
628604

629605
### Authorization
630606

631-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
607+
[Basic](../README.md#Basic)
632608

633609
### HTTP request headers
634610

@@ -654,9 +630,6 @@ Bandwidth.configure do |config|
654630
# Configure HTTP basic authorization: Basic
655631
config.username = 'YOUR USERNAME'
656632
config.password = 'YOUR PASSWORD'
657-
658-
# Configure OAuth2 access token for authorization: OAuth2
659-
config.access_token = 'YOUR ACCESS TOKEN'
660633
end
661634

662635
api_instance = Bandwidth::ConferencesApi.new
@@ -706,7 +679,7 @@ nil (empty response body)
706679

707680
### Authorization
708681

709-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
682+
[Basic](../README.md#Basic)
710683

711684
### HTTP request headers
712685

docs/MFAApi.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ Bandwidth.configure do |config|
2727
# Configure HTTP basic authorization: Basic
2828
config.username = 'YOUR USERNAME'
2929
config.password = 'YOUR PASSWORD'
30-
31-
# Configure OAuth2 access token for authorization: OAuth2
32-
config.access_token = 'YOUR ACCESS TOKEN'
3330
end
3431

3532
api_instance = Bandwidth::MFAApi.new
@@ -76,7 +73,7 @@ end
7673

7774
### Authorization
7875

79-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
76+
[Basic](../README.md#Basic)
8077

8178
### HTTP request headers
8279

@@ -102,9 +99,6 @@ Bandwidth.configure do |config|
10299
# Configure HTTP basic authorization: Basic
103100
config.username = 'YOUR USERNAME'
104101
config.password = 'YOUR PASSWORD'
105-
106-
# Configure OAuth2 access token for authorization: OAuth2
107-
config.access_token = 'YOUR ACCESS TOKEN'
108102
end
109103

110104
api_instance = Bandwidth::MFAApi.new
@@ -151,7 +145,7 @@ end
151145

152146
### Authorization
153147

154-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
148+
[Basic](../README.md#Basic)
155149

156150
### HTTP request headers
157151

@@ -177,9 +171,6 @@ Bandwidth.configure do |config|
177171
# Configure HTTP basic authorization: Basic
178172
config.username = 'YOUR USERNAME'
179173
config.password = 'YOUR PASSWORD'
180-
181-
# Configure OAuth2 access token for authorization: OAuth2
182-
config.access_token = 'YOUR ACCESS TOKEN'
183174
end
184175

185176
api_instance = Bandwidth::MFAApi.new
@@ -226,7 +217,7 @@ end
226217

227218
### Authorization
228219

229-
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
220+
[Basic](../README.md#Basic)
230221

231222
### HTTP request headers
232223

0 commit comments

Comments
 (0)