Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
451 changes: 118 additions & 333 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
cli:
version: 0.0.8
version: 0.0.9
additionalDependencies: {}
cliName: authlete
distribution:
Expand Down
16 changes: 16 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1627,6 +1627,8 @@ paths:
operationId: client_authorization_get_list_api
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: listAuthorizedApplications
post:
summary: Get Authorized Applications
description: |
Expand Down Expand Up @@ -1667,6 +1669,8 @@ paths:
operationId: client_authorization_get_list_api_post
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: listAuthorizedApplicationsPost
x-code-samples:
- lang: shell
label: curl
Expand Down Expand Up @@ -1897,6 +1901,8 @@ paths:
operationId: client_authorization_delete_api
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: revokeClientTokens
post:
summary: Delete Client Tokens
description: |
Expand Down Expand Up @@ -1948,6 +1954,8 @@ paths:
operationId: client_authorization_delete_api_post
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: revokeClientTokensPost
x-code-samples:
- lang: shell
label: curl
Expand Down Expand Up @@ -2100,6 +2108,8 @@ paths:
operationId: client_granted_scopes_get_api
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: getGrantedScopesForClient
post:
summary: Get Granted Scopes
description: |
Expand Down Expand Up @@ -2151,6 +2161,8 @@ paths:
operationId: client_granted_scopes_get_api_post
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: getGrantedScopesForClientPost
x-code-samples:
- lang: shell
label: curl
Expand Down Expand Up @@ -2296,6 +2308,8 @@ paths:
api.deleteClientAuthorization(clientId, subject)
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: deleteGrantedScopesForClient
/api/{serviceId}/client/granted_scopes/delete/{clientId}/{subject}:
delete:
summary: Delete Granted Scopes (by Subject)
Expand Down Expand Up @@ -8557,6 +8571,8 @@ paths:
operationId: client_extension_requestables_scopes_update_api_post
tags:
- Client Management
x-speakeasy-group: client.management
x-speakeasy-name-override: updateRequestableScopesPost
put:
summary: Update Requestable Scopes
description: |
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.761.7
sources:
Authlete-OAS:
sourceNamespace: authlete-oas
sourceRevisionDigest: sha256:ec33fd29dce0b43cdf9f8fceaf329108b3c88595bdb8e5e57cba03ba221667ce
sourceBlobDigest: sha256:906f3b7cc12790c9e28fceea15ec542d88787634499ca705f6f0f29f243e8a6a
sourceRevisionDigest: sha256:f84cffca79642abc998ec3ffc4b78a2f868cd0824aac8f1aa16a830a9427c197
sourceBlobDigest: sha256:967d4ce2f07bbfbedbca35fd693cd80e82e49c290983790c26cf308de8f0f1cd
tags:
- latest
- 3.0.16
targets:
authlete:
source: Authlete-OAS
sourceNamespace: authlete-oas
sourceRevisionDigest: sha256:ec33fd29dce0b43cdf9f8fceaf329108b3c88595bdb8e5e57cba03ba221667ce
sourceBlobDigest: sha256:906f3b7cc12790c9e28fceea15ec542d88787634499ca705f6f0f29f243e8a6a
sourceRevisionDigest: sha256:f84cffca79642abc998ec3ffc4b78a2f868cd0824aac8f1aa16a830a9427c197
sourceBlobDigest: sha256:967d4ce2f07bbfbedbca35fd693cd80e82e49c290983790c26cf308de8f0f1cd
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
45 changes: 21 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,30 +274,27 @@ Configuration is stored in `~/.config/authlete/config.yaml`.
* [`update-form`](docs/authlete_client_update-form.md) - Update Client
* [`delete`](docs/authlete_client_delete.md) - Delete Client ⚑

#### [client-management-1](docs/authlete_client_client-management-1.md)

* [`update-lock-flag`](docs/authlete_client_client-management-1_update-lock-flag.md) - Update Client Lock
* [`refresh-secret`](docs/authlete_client_client-management-1_refresh-secret.md) - Rotate Client Secret
* [`update-secret`](docs/authlete_client_client-management-1_update-secret.md) - Update Client Secret
* [`list-authorizations`](docs/authlete_client_client-management-1_list-authorizations.md) - Get Authorized Applications (by Subject)
* [`update-authorizations`](docs/authlete_client_client-management-1_update-authorizations.md) - Update Client Tokens
* [`delete-authorizations`](docs/authlete_client_client-management-1_delete-authorizations.md) - Delete Client Tokens (by Subject)
* [`get-granted-scopes`](docs/authlete_client_client-management-1_get-granted-scopes.md) - Get Granted Scopes (by Subject)
* [`delete-granted-scopes`](docs/authlete_client_client-management-1_delete-granted-scopes.md) - Delete Granted Scopes (by Subject)
* [`get-requestable-scopes`](docs/authlete_client_client-management-1_get-requestable-scopes.md) - Get Requestable Scopes
* [`update-requestable-scopes`](docs/authlete_client_client-management-1_update-requestable-scopes.md) - Update Requestable Scopes
* [`delete-requestable-scopes`](docs/authlete_client_client-management-1_delete-requestable-scopes.md) - Delete Requestable Scopes

### [client-management-2](docs/authlete_client-management-2.md)

* [`client-authorization-get-list-api`](docs/authlete_client-management-2_client-authorization-get-list-api.md) - Get Authorized Applications
* [`client-authorization-get-list-api-post`](docs/authlete_client-management-2_client-authorization-get-list-api-post.md) - Get Authorized Applications
* [`client-authorization-delete-api`](docs/authlete_client-management-2_client-authorization-delete-api.md) - Delete Client Tokens
* [`client-authorization-delete-api-post`](docs/authlete_client-management-2_client-authorization-delete-api-post.md) - Delete Client Tokens
* [`client-granted-scopes-get-api`](docs/authlete_client-management-2_client-granted-scopes-get-api.md) - Get Granted Scopes
* [`client-granted-scopes-get-api-post`](docs/authlete_client-management-2_client-granted-scopes-get-api-post.md) - Get Granted Scopes
* [`client-granted-scopes-delete-api`](docs/authlete_client-management-2_client-granted-scopes-delete-api.md) - Delete Granted Scopes
* [`client-extension-requestables-scopes-update-api-post`](docs/authlete_client-management-2_client-extension-requestables-scopes-update-api-post.md) - Update Requestable Scopes
#### [client-management](docs/authlete_client_client-management.md)

* [`update-lock-flag`](docs/authlete_client_client-management_update-lock-flag.md) - Update Client Lock
* [`refresh-secret`](docs/authlete_client_client-management_refresh-secret.md) - Rotate Client Secret
* [`update-secret`](docs/authlete_client_client-management_update-secret.md) - Update Client Secret
* [`list-authorized-applications`](docs/authlete_client_client-management_list-authorized-applications.md) - Get Authorized Applications
* [`list-authorized-applications-post`](docs/authlete_client_client-management_list-authorized-applications-post.md) - Get Authorized Applications
* [`list-authorizations`](docs/authlete_client_client-management_list-authorizations.md) - Get Authorized Applications (by Subject)
* [`update-authorizations`](docs/authlete_client_client-management_update-authorizations.md) - Update Client Tokens
* [`revoke-client-tokens`](docs/authlete_client_client-management_revoke-client-tokens.md) - Delete Client Tokens
* [`revoke-client-tokens-post`](docs/authlete_client_client-management_revoke-client-tokens-post.md) - Delete Client Tokens
* [`delete-authorizations`](docs/authlete_client_client-management_delete-authorizations.md) - Delete Client Tokens (by Subject)
* [`get-granted-scopes-for-client`](docs/authlete_client_client-management_get-granted-scopes-for-client.md) - Get Granted Scopes
* [`get-granted-scopes-for-client-post`](docs/authlete_client_client-management_get-granted-scopes-for-client-post.md) - Get Granted Scopes
* [`get-granted-scopes`](docs/authlete_client_client-management_get-granted-scopes.md) - Get Granted Scopes (by Subject)
* [`delete-granted-scopes-for-client`](docs/authlete_client_client-management_delete-granted-scopes-for-client.md) - Delete Granted Scopes
* [`delete-granted-scopes`](docs/authlete_client_client-management_delete-granted-scopes.md) - Delete Granted Scopes (by Subject)
* [`get-requestable-scopes`](docs/authlete_client_client-management_get-requestable-scopes.md) - Get Requestable Scopes
* [`update-requestable-scopes-post`](docs/authlete_client_client-management_update-requestable-scopes-post.md) - Update Requestable Scopes
* [`update-requestable-scopes`](docs/authlete_client_client-management_update-requestable-scopes.md) - Update Requestable Scopes
* [`delete-requestable-scopes`](docs/authlete_client_client-management_delete-requestable-scopes.md) - Delete Requestable Scopes

### [authorization](docs/authlete_authorization.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,14 @@ Based on:
### Generated
- [cli v0.0.8] .
### Releases
- [CLI v0.0.8] https://github.com/authlete/authlete-cli/releases/tag/v0.0.8 - .
- [CLI v0.0.8] https://github.com/authlete/authlete-cli/releases/tag/v0.0.8 - .

## 2026-04-17 17:03:13
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.761.7 (2.881.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [cli v0.0.9] .
### Releases
- [CLI v0.0.9] https://github.com/authlete/authlete-cli/releases/tag/v0.0.9 - .
1 change: 0 additions & 1 deletion docs/authlete.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ authlete [flags]
* [authlete authorization](authlete_authorization.md) - Operations for authorization
* [authlete ciba](authlete_ciba.md) - Operations for ciba
* [authlete client](authlete_client.md) - Operations for client
* [authlete client-management-2](authlete_client-management-2.md) - API endpoints for managing OAuth clients, including creation, update, and deletion of clients
* [authlete configure](authlete_configure.md) - Configure authentication credentials and preferences
* [authlete device-flow](authlete_device-flow.md) - Operations for device-flow
* [authlete dynamic-client-registration](authlete_dynamic-client-registration.md) - Operations for dynamic-client-registration
Expand Down
2 changes: 1 addition & 1 deletion docs/authlete_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ authlete client [flags]
* [authlete client delete](authlete_client_delete.md) - Delete Client ⚑
* [authlete client get](authlete_client_get.md) - Get Client
* [authlete client list](authlete_client_list.md) - List Clients
* [authlete client management-1](authlete_client_management-1.md) - Operations for client-management-1
* [authlete client management](authlete_client_management.md) - Operations for client-management
* [authlete client update](authlete_client_update.md) - Update Client
* [authlete client update-form](authlete_client_update-form.md) - Update Client
8 changes: 4 additions & 4 deletions docs/authlete_client_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@ authlete client management [flags]
### SEE ALSO

* [authlete client](authlete_client.md) - Operations for client
* [authlete client management create-granted-scopes](authlete_client_management_create-granted-scopes.md) - Get Granted Scopes
* [authlete client management delete-authorizations](authlete_client_management_delete-authorizations.md) - Delete Client Tokens (by Subject)
* [authlete client management delete-client-tokens](authlete_client_management_delete-client-tokens.md) - Delete Client Tokens
* [authlete client management delete-granted-scopes](authlete_client_management_delete-granted-scopes.md) - Delete Granted Scopes (by Subject)
* [authlete client management delete-granted-scopes-for-client](authlete_client_management_delete-granted-scopes-for-client.md) - Delete Granted Scopes
* [authlete client management delete-requestable-scopes](authlete_client_management_delete-requestable-scopes.md) - Delete Requestable Scopes
* [authlete client management get-granted-scopes](authlete_client_management_get-granted-scopes.md) - Get Granted Scopes (by Subject)
* [authlete client management get-granted-scopes-for-client](authlete_client_management_get-granted-scopes-for-client.md) - Get Granted Scopes
* [authlete client management get-granted-scopes-for-client-post](authlete_client_management_get-granted-scopes-for-client-post.md) - Get Granted Scopes
* [authlete client management get-requestable-scopes](authlete_client_management_get-requestable-scopes.md) - Get Requestable Scopes
* [authlete client management list-authorizations](authlete_client_management_list-authorizations.md) - Get Authorized Applications (by Subject)
* [authlete client management list-authorized-applications](authlete_client_management_list-authorized-applications.md) - Get Authorized Applications
* [authlete client management list-authorized-applications-with-body](authlete_client_management_list-authorized-applications-with-body.md) - Get Authorized Applications
* [authlete client management list-authorized-applications-post](authlete_client_management_list-authorized-applications-post.md) - Get Authorized Applications
* [authlete client management refresh-secret](authlete_client_management_refresh-secret.md) - Rotate Client Secret
* [authlete client management revoke-client-tokens](authlete_client_management_revoke-client-tokens.md) - Delete Client Tokens
* [authlete client management revoke-client-tokens-post](authlete_client_management_revoke-client-tokens-post.md) - Delete Client Tokens
* [authlete client management update-authorizations](authlete_client_management_update-authorizations.md) - Update Client Tokens
* [authlete client management update-lock-flag](authlete_client_management_update-lock-flag.md) - Update Client Lock
* [authlete client management update-requestable-scopes](authlete_client_management_update-requestable-scopes.md) - Update Requestable Scopes
* [authlete client management update-requestable-scopes-with-body](authlete_client_management_update-requestable-scopes-with-body.md) - Update Requestable Scopes
* [authlete client management update-requestable-scopes-post](authlete_client_management_update-requestable-scopes-post.md) - Update Requestable Scopes
* [authlete client management update-secret](authlete_client_management_update-secret.md) - Update Client Secret
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## authlete client management get-granted-scopes-for-client-post

Get Granted Scopes

### Synopsis

Get the set of scopes that a user has granted to a client application.

The subject parameter is required.

```
authlete client management get-granted-scopes-for-client-post [flags]
```

### Examples

```
authlete client-management get-granted-scopes-for-client-post --service-id <id> --client-id <id> --subject <value>
```

### Options

```
--body string Request body as JSON (alternative to individual flags). Can also be provided via stdin.
-c, --client-id string A client ID.
[required]
-h, --help help for get-granted-scopes-for-client-post
--service-id string A service ID. [required]
--subject string Unique user ID of an end-user. [required]
```

### Options inherited from parent commands

```
--agent-mode Enable structured errors and default TOON output for AI coding agents. Automatically enabled when a known agent environment is detected (CLAUDE_CODE, CURSOR_AGENT, etc.). Use --agent-mode=false to disable.
--bearer Authorization: Bearer <token> Authenticate every request with a **Service Access Token** or **Organization Token**.
Set the token value in the Authorization: Bearer <token> header.

**Service Access Token**: Scoped to a single service. Use when automating service-level configuration or runtime flows.

**Organization Token**: Scoped to the organization; inherits permissions across services. Use for org-wide automation or when managing multiple services programmatically.

Both token types are issued by the Authlete console or provisioning APIs.
--color string Control colored output: auto (color when output is a TTY), always, or never. Respects NO_COLOR and FORCE_COLOR env vars. (default "auto")
-d, --debug Log request and response diagnostics to stderr
--dry-run Preview the request that would be sent without executing it (output to stderr)
-H, --header stringArray Set a custom HTTP request header (format: "Key: Value"). Can be specified multiple times.
--include-headers Include HTTP response headers in the output
-q, --jq string Filter and transform output using a jq expression (e.g., '.name', '.items[] | .id')
--no-interactive Disable all interactive features (auto-prompting, explorer auto-launch, TUI forms)
-o, --output-format string Specify the output format. Options: pretty, json, yaml, table, toon. (default "pretty")
--server string Select a server by index (for indexed servers) or name (for named servers)
--server-url string Override the default server URL
--timeout string HTTP request timeout (e.g., 30s, 5m, 100ms)
--usage Print the CLI Usage schema in KDL format
```

### SEE ALSO

* [authlete client management](authlete_client_management.md) - Operations for client-management
Loading