Skip to content

Commit 1d81d9c

Browse files
Merge pull request #5761 from Thisara-Welmilla/add-action-versioning-docs-asgardeo-1
Add action versioning documentation for Asgardeo
2 parents 06aea72 + 9d70823 commit 1d81d9c

25 files changed

+2737
-2112
lines changed

en/asgardeo/docs/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api-contract.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

en/asgardeo/docs/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api/pre-issue-access-token-action-v1.yaml renamed to en/asgardeo/docs/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api/pre-issue-access-token-action-v1.0.yaml

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.1
22
info:
33
title: API contract for pre-issue access token action
44
description: This API defines the REST API contract for a service that implements logic to extend the access token issuance flow of Asgardeo.
5-
version: v1
5+
version: v1.0
66
security:
77
- BasicAuth: []
88
- BearerAuth: []
@@ -77,8 +77,6 @@ components:
7777
$ref: '#/components/schemas/Request'
7878
tenant:
7979
$ref: '#/components/schemas/Tenant'
80-
organization:
81-
$ref: '#/components/schemas/IssuerOrganization'
8280
user:
8381
$ref: '#/components/schemas/User'
8482
userStore:
@@ -139,53 +137,16 @@ components:
139137
example:
140138
bar.com
141139
description: This property represents the tenant under which the token request is being processed.
142-
IssuerOrganization:
143-
type: object
144-
required:
145-
- id
146-
- name
147-
properties:
148-
id:
149-
type: string
150-
description: The unique identifier of the organization.
151-
example:
152-
f14962ba-e198-4261-88dd-ea0e25121f83
153-
name:
154-
type: string
155-
description: The name of the organization.
156-
example:
157-
bar.com
158-
description: This property represents the organization which is issuing the access token.
159140
User:
160141
type: object
161142
required:
162143
- id
163-
- organization
164144
properties:
165145
id:
166146
type: string
167147
description: Defines the unique identifier of the user.
168148
example: e204849c-4ec2-41f1-8ff7-ec1ebff02821
169-
organization:
170-
$ref: '#/components/schemas/UserOrganization'
171149
description: Contains information about the authenticated user associated with the token request.
172-
UserOrganization:
173-
type: object
174-
required:
175-
- id
176-
- name
177-
properties:
178-
id:
179-
type: string
180-
description: The unique identifier of the organization.
181-
example:
182-
f14962ba-e198-4261-88dd-ea0e25121f83
183-
name:
184-
type: string
185-
description: The name of the organization.
186-
example:
187-
bar.com
188-
description: This property represents the organization in which the user has been authenticated.
189150
UserStore:
190151
type: object
191152
required:
@@ -209,7 +170,7 @@ components:
209170
properties:
210171
tokenType:
211172
type: string
212-
example: HASH
173+
example: JWT
213174
enum:
214175
- JWT
215176
description: Defines the type of token.

en/identity-server/next/docs/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api/pre-issue-access-token-action-v1.yaml renamed to en/asgardeo/docs/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api/pre-issue-access-token-action-v1.1.yaml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.1
22
info:
33
title: API contract for pre-issue access token action
44
description: This API defines the REST API contract for a service that implements logic to extend the access token issuance flow of WSO2 Identity Server.
5-
version: v1
5+
version: v1.1
66
contact:
77
name: WSO2
88
url: 'https://wso2.com/identity-server/'
@@ -91,6 +91,8 @@ components:
9191
$ref: '#/components/schemas/Request'
9292
tenant:
9393
$ref: '#/components/schemas/Tenant'
94+
organization:
95+
$ref: "#/components/schemas/Organization"
9496
user:
9597
$ref: '#/components/schemas/User'
9698
userStore:
@@ -152,7 +154,28 @@ components:
152154
description: The domain name of the tenant.
153155
example:
154156
bar.com
155-
description: This property represents the tenant under which the token request is being processed.
157+
description: This property represents the tenant under which the token request is being processed.
158+
Organization:
159+
type: object
160+
required:
161+
- id
162+
- name
163+
- orgHandle
164+
- depth
165+
properties:
166+
id:
167+
type: string
168+
example: eb1115f6-274f-4bb7-9b6d-d31f678e81f7
169+
name:
170+
type: string
171+
example: Example
172+
orgHandle:
173+
type: string
174+
example: example.com
175+
depth:
176+
type: integer
177+
example: 0
178+
description: This property represents the organization context.
156179
User:
157180
type: object
158181
required:
@@ -162,6 +185,8 @@ components:
162185
type: string
163186
description: Defines the unique identifier of the user.
164187
example: e204849c-4ec2-41f1-8ff7-ec1ebff02821
188+
organization:
189+
$ref: "#/components/schemas/Organization"
165190
description: Contains information about the authenticated user associated with the token request.
166191
UserStore:
167192
type: object
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
template: templates/redoc.html
3+
---
4+
5+
<redoc id="pre-issue-access-token-v1.0" spec-url="{{base_path}}/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api/pre-issue-access-token-action-v1.0.yaml" theme='{{redoc_theme}}'></redoc>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
template: templates/redoc.html
3+
---
4+
5+
<redoc id="pre-issue-access-token-v1.1" spec-url="{{base_path}}/references/service-extensions/pre-flow-extensions/pre-issue-access-token-action/api/pre-issue-access-token-action-v1.1.yaml" theme='{{redoc_theme}}'></redoc>

en/asgardeo/docs/references/service-extensions/pre-flow-extensions/pre-update-password-action/api-contract.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)