Skip to content

Commit c273772

Browse files
committed
update README
1 parent da83ff1 commit c273772

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ const bitbucket = new Bitbucket(clientOptions)
6868

6969
#### Authentication
7070

71+
**Using `username` and `password`**:
72+
7173
```js
7274
const clientOptions = {
7375
auth: {
@@ -79,12 +81,12 @@ const clientOptions = {
7981
const bitbucket = new Bitbucket(clientOptions)
8082
```
8183

82-
#### Authorization ( Bearer token )
84+
**Using `token`**:
8385

8486
```js
8587
const clientOptions = {
8688
auth: {
87-
token: 'AbCdEf123456',
89+
token: 'abcdef123456',
8890
},
8991
}
9092

0 commit comments

Comments
 (0)