Skip to content

Commit febc187

Browse files
committed
readme
1 parent 72eb517 commit febc187

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ The following is a simple example of how to use this module:
8484
import { CallsApi, Configuration } from 'bandwidth-sdk';
8585

8686
const config = new Configuration({
87-
username: BW_USERNAME,
88-
password: BW_PASSWORD
87+
clientId: BW_CLIENT_ID,
88+
clientSecret: BW_CLIENT_SECRET
8989
});
9090
const callsApi = new CallsApi(config);
9191

@@ -346,3 +346,11 @@ Authentication schemes defined for the API:
346346

347347
- **Type**: HTTP basic authentication
348348

349+
<a id="OAuth2"></a>
350+
### OAuth2
351+
352+
- **Type**: OAuth
353+
- **Flow**: application
354+
- **Authorization URL**:
355+
- **Scopes**: N/A
356+

custom_templates/README.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ The following is a simple example of how to use this module:
8484
import { CallsApi, Configuration } from '{{npmName}}';
8585

8686
const config = new Configuration({
87-
username: BW_USERNAME,
88-
password: BW_PASSWORD
87+
clientId: BW_CLIENT_ID,
88+
clientSecret: BW_CLIENT_SECRET
8989
});
9090
const callsApi = new CallsApi(config);
9191

0 commit comments

Comments
 (0)