|
@@ -1054,6 +1054,10 @@ import 'package:openapi/api.dart';
|
|
|
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
|
|
|
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
|
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
|
|
|
+// TODO Configure API key authorization: api_key
|
|
|
+//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
|
|
|
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
|
+//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
|
|
|
// TODO Configure HTTP Bearer authorization: bearer
|
|
|
// Case 1. Use String Token
|
|
|
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
|
|
@@ -1088,7 +1092,7 @@ Name | Type | Description | Notes
|
|
|
|
|
|
### Authorization
|
|
|
|
|
|
-[cookie](../README.md#cookie), [bearer](../README.md#bearer)
|
|
|
+[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer)
|
|
|
|
|
|
### HTTP request headers
|
|
|
|