Skip to content

Commit

Permalink
Format the table in HowToRun.md (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
leungkinghin-ct authored Mar 15, 2021
1 parent d0978b4 commit 0e3d3bc
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions extension/docs/HowToRun.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,13 @@ Multiple child attributes can be provided in the `commercetools` attribute. Each
}
```

| Name | Content | Required | Default value |
| ---------------- | ------------------------------------------------------------ | -------- | ------------------------------------------------- |
| `clientId` | OAuth 2.0 `client_id` and can be used to obtain a token. | YES | |
| `clientSecret` | OAuth 2.0 `client_secret` and can be used to obtain a token. | YES | |
| `host` | The commercetools HTTP API is hosted at that URL. | NO | `https://api.europe-west1.gcp.commercetools.com` |
| `authUrl` | The commercetools’ OAuth 2.0 service is hosted at that URL. | NO | `https://auth.europe-west1.gcp.commercetools.com` |
| `authentication` | This setting only takes effect when `basicAuth` ( a child | NO | |
| | attribute in `ADYEN_INTEGRATION_CONFIG` ) is set to `true`. | NO | |
| | It enables authentication mechanism to prevent unauthorized | | |
| | access to the extension module. When it is provided as a | | |
| | JSON object, it must contain 3 separate attributes. They | | |
| | are `scheme` attribute which supports `basic` type, | | |
| | `username` and `password` attribute defined by user. | | |
| Name | Content | Required | Default value |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ------------------------------------------------- |
| `clientId` | OAuth 2.0 `client_id` and can be used to obtain a token. | YES | |
| `clientSecret` | OAuth 2.0 `client_secret` and can be used to obtain a token. | YES | |
| `host` | The commercetools HTTP API is hosted at that URL. | NO | `https://api.europe-west1.gcp.commercetools.com` |
| `authUrl` | The commercetools’ OAuth 2.0 service is hosted at that URL. | NO | `https://auth.europe-west1.gcp.commercetools.com` |
| `authentication` | This setting only takes effect when `basicAuth` ( a child attribute in `ADYEN_INTEGRATION_CONFIG` ) is set to `true`. It enables authentication mechanism to prevent unauthorized access to the extension module. When it is provided as a JSON object, it must contain 3 separate attributes. They are `scheme` attribute which supports `basic` type, `username` and `password` attribute defined by user. | NO | |

### Other Configurations

Expand Down

0 comments on commit 0e3d3bc

Please sign in to comment.