added security to the container specs
This commit is contained in:
parent
75531b4fdc
commit
07e1dc91e3
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user