Commit d56acbfe authored by lohmart's avatar lohmart
Browse files

Added scopes.

parent 0ad3094d
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ paths:
    get:
      operationId: retrieveServiceAccessInformation
      summary: 'Retrieve the Service Access Information resource'
      security:
        - oAuth2ClientCredentials:
          - service-access-information-read
        - oAuth2AuthorizationCode:
          - service-access-information-read
      responses:
        '200': # OK
          description: 'Success'
@@ -67,20 +72,21 @@ paths:

components:
  securitySchemes:
    OAuth2ClientCredentials:
    oAuth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: '{tokenUrl}'
          scopes: {}
    OAuth2AuthorizationCode:
          scopes:
            service-access-information-read: Read service access session
    oAuth2AuthorizationCode:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: '{authorizationUrl}'
          tokenUrl: '{tokenUrl}'
          scopes: {}

          scopes:
            service-access-information-read: Read service access session

  schemas:
    M5MediaEntryPoint: