Skip to content

Commit a08c77c

Browse files
committed
Document OAuth Client public option
1 parent 831ef48 commit a08c77c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/src/data/endpoints/account.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,12 @@ endpoints:
470470
description: A URL to redirect to after the OAuth flow has completed.
471471
type: string
472472
limit: "1-512 characters"
473+
public:
474+
optional: true
475+
description: >
476+
If true, this client uses the implicit OAuth flow and does not
477+
use a client secret.
478+
type: Boolean
473479
examples:
474480
curl: |
475481
curl -H "Content-Type: application/json" \

docs/src/data/objects/client.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ schema:
2828
subtype: Status
2929
value: active
3030
description: The status of the client application.
31+
public:
32+
type: Boolean
33+
value: false
34+
description: If this client is public. Public clients use the implicit OAuth flow.
3135
enums:
3236
Status:
3337
active: The client application is active and accepting OAuth logins.

0 commit comments

Comments
 (0)