You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/openapi.js
+31-62Lines changed: 31 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -6,36 +6,6 @@ const resourceManager = {
6
6
7
7
constspec={
8
8
openapi: '3.0.0',
9
-
info: {
10
-
version: 'v1',
11
-
title: 'Authress',
12
-
description: `<p>
13
-
<h2>Introduction</h2>
14
-
<p>Welcome to the Authress Authorization API.
15
-
<br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p>
16
-
<p><ul>
17
-
<li>Manage multitenant platforms and create user tenants for SSO connections.</li>
18
-
<li>Create records to assign roles and resources to grant access for users.</li>
19
-
<li>Check user access control by calling the authorization API at the right time.</li>
20
-
<li>Configure service clients to securely access services in your platform.</li>
21
-
</ul></p>
22
-
<p>For more in-depth scenarios check out the <a href="https://authress.io/knowledge-base" target="_blank">Authress knowledge base</a>.</p>
description: 'A dynamic body to support request PATCH operations',
3058
+
type: 'object',
3087
3059
additionalProperties: false,
3088
3060
required: ['status'],
3089
3061
properties: {
@@ -3388,7 +3360,7 @@ const spec = {
3388
3360
example: ''
3389
3361
},
3390
3362
options: {
3391
-
description: 'A map of client specific options',
3363
+
description: 'A set of client specific options',
3392
3364
type: 'object',
3393
3365
additionalProperties: false,
3394
3366
properties: {
@@ -3398,6 +3370,13 @@ const spec = {
3398
3370
nullable: true,
3399
3371
example: false,
3400
3372
default: false
3373
+
},
3374
+
grantTokenGeneration: {
3375
+
description: 'Grant the client access to generate oauth tokens on behalf of the Authress account. Security Warning: This means that this client can impersonate any user, and should only be used when connecting an existing custom Authorization Server to Authress, when that server does not support a standard OAuth connection.',
3376
+
type: 'boolean',
3377
+
nullable: true,
3378
+
example: false,
3379
+
default: false
3401
3380
}
3402
3381
// grantMetadataAccess: {
3403
3382
// description: 'Grant the client access to read and write user data on behalf of any user',
description: 'A JSON object limited to 10KB. The owner identified by the sub will always have access to read and update this data. Service clients may have access if the related property on the client is set. Access is restricted to authorized users.',
0 commit comments