Skip to content

Commit b43b55e

Browse files
committed
regenerate
1 parent 1d447c6 commit b43b55e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bandwidth/api/phone_number_lookup_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,8 @@ def _create_sync_lookup_serialize(
608608

609609
# authentication setting
610610
_auth_settings: List[str] = [
611-
'Basic'
611+
'Basic',
612+
'OAuth2'
612613
]
613614

614615
return self.api_client.param_serialize(

docs/PhoneNumberLookupApi.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Name | Type | Description | Notes
165165

166166
### Authorization
167167

168-
[Basic](../README.md#Basic)
168+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
169169

170170
### HTTP request headers
171171

@@ -191,6 +191,7 @@ Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/opera
191191
### Example
192192

193193
* Basic Authentication (Basic):
194+
* OAuth Authentication (OAuth2):
194195

195196
```python
196197
import bandwidth
@@ -215,6 +216,8 @@ configuration = bandwidth.Configuration(
215216
password = os.environ["PASSWORD"]
216217
)
217218

219+
configuration.access_token = os.environ["ACCESS_TOKEN"]
220+
218221
# Enter a context with an instance of the API client
219222
with bandwidth.ApiClient(configuration) as api_client:
220223
# Create an instance of the API class

0 commit comments

Comments
 (0)