Skip to content

Commit

Permalink
Automated commit 'Changed oauth2 to UserContextAuth in several endpoi…
Browse files Browse the repository at this point in the history
…nts (#1426)' by github action: 6327414690
  • Loading branch information
tyler-mairose-sp committed Sep 27, 2023
1 parent 6c5eaea commit 0bfa235
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
6 changes: 2 additions & 4 deletions idn/beta/paths/auth-user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ put:
summary: Auth User Update - Overwrite
description: Update an existing user in the authentication system by over overwriting the information with new information.
security:
- oauth2: [sp:auth-user-internal:update]
- UserContextAuth: [sp:auth-user-internal:update]
parameters:
- in: path
name: id
Expand All @@ -19,8 +19,6 @@ put:
required: true
description: |
Auth User Save Request. This overwrites the existing user details in the authentication system.
Requires security scope of 'sp:auth-user:update'
content:
application/json:
schema:
Expand Down Expand Up @@ -52,7 +50,7 @@ delete:
summary: Delete an Auth User
description: Delete an existing user in the authentication system.
security:
- oauth2: [sp:auth-user:delete]
- UserContextAuth: [sp:auth-user:delete]
parameters:
- in: path
name: id
Expand Down
10 changes: 3 additions & 7 deletions idn/v3/paths/auth-org-network-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ get:
This API returns the details of an org's network auth configuration.
Requires security scope of: 'sp:auth-org:read'
security:
- oauth2: [ sp:auth-org:read ]
- UserContextAuth: [ sp:auth-org:read ]
responses:
"200":
description: Network configuration for the tenant's auth org.
Expand All @@ -27,8 +27,6 @@ get:
$ref: "../../v3/responses/429.yaml"
"500":
$ref: "../../v3/responses/500.yaml"
# security:
# - oauth2: [sp:auth-org:read]
post:
operationId: createAuthOrgNetworkConfig
tags:
Expand All @@ -38,7 +36,7 @@ post:
This API returns the details of an org's network auth configuration.
Requires security scope of: 'sp:auth-org:create'
security:
- oauth2: [ sp:auth-org:create ]
- UserContextAuth: [ sp:auth-org:create ]
requestBody:
required: true
description: >-
Expand Down Expand Up @@ -71,8 +69,6 @@ post:
$ref: "../../v3/responses/429.yaml"
"500":
$ref: "../../v3/responses/500.yaml"
# security:
# - oauth2: [sp:auth-org:create]
patch:
operationId: patchAuthOrgNetworkConfig
tags:
Expand All @@ -82,7 +78,7 @@ patch:
This API updates an existing network configuration for an org using PATCH
Requires security scope of: 'sp:auth-org:update'
security:
- oauth2: [ sp:auth-org:update ]
- UserContextAuth: [ sp:auth-org:update ]
requestBody:
required: true
description: >-
Expand Down
4 changes: 2 additions & 2 deletions idn/v3/paths/auth-user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ get:
type: string
example: ef38f94347e94562b5bb8424a56397d8
security:
- oauth2: [sp:auth-user:read]
- UserContextAuth: [sp:auth-user:read]
responses:
'200':
description: The specified user's authentication system details.
Expand Down Expand Up @@ -45,7 +45,7 @@ patch:
summary: Auth User Update
description: Update an existing user in the authentication system with a PATCH request.
security:
- oauth2: [sp:auth-user:update]
- UserContextAuth: [sp:auth-user:update]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/v3/paths/password-org-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ put:
Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write'
security:
- oauth2: ['idn:password-org-config:write']
- UserContextAuth: ['idn:password-org-config:write']
requestBody:
required: true
content:
Expand Down

0 comments on commit 0bfa235

Please sign in to comment.