diff --git a/src/openapi/container/abt-container-notifications.yaml b/src/openapi/container/abt-container-notifications.yaml index 3ab27d0..41f0ff4 100644 --- a/src/openapi/container/abt-container-notifications.yaml +++ b/src/openapi/container/abt-container-notifications.yaml @@ -11,6 +11,8 @@ tags: description: >- Service Engine APIs for the HTM Notification preferences for a category for a user. Contains a full list on event type channel level. +security: + - oAuthSample: [profile] paths: /customers/{customerProfileId}/notificationpreferences: parameters: @@ -1829,6 +1831,15 @@ paths: ], } components: + securitySchemes: + oAuthSample: + type: oauth2 + description: This API uses OAuth 2 with the clientCredentials flow. [More info](https://api.example.com/docs/auth) + flows: + clientCredentials: # <---- OAuth flow( clientCredentials) + tokenUrl: https://identity.{{env}}.api.htm.nl/oauth2/token + scopes: + profile schemas: unavailable: type: object diff --git a/src/openapi/container/abt-container-tokens.yaml b/src/openapi/container/abt-container-tokens.yaml index f6756ad..dc5b48f 100644 --- a/src/openapi/container/abt-container-tokens.yaml +++ b/src/openapi/container/abt-container-tokens.yaml @@ -6,6 +6,8 @@ info: version: "1.0" servers: - url: https://services.acc.api.htm.nl/abt/containertokens/1.0 +security: + - oAuthSample: [profile] tags: - name: tokens paths: @@ -296,6 +298,15 @@ paths: example: error: An unknown error has occurred components: + securitySchemes: + oAuthSample: + type: oauth2 + description: This API uses OAuth 2 with the clientCredentials flow. [More info](https://api.example.com/docs/auth) + flows: + clientCredentials: # <---- OAuth flow( clientCredentials) + tokenUrl: https://identity.{{env}}.api.htm.nl/oauth2/token + scopes: + profile schemas: unavailable: type: object