Skip to content

Commit 8f8e534

Browse files
committed
autogen(docs): generate cli docs
1 parent 8e11ebc commit 8f8e534

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/hydra/cli/hydra-create-oauth2-client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the Authorize Code, Implicit, Refresh flow. This command allows settings all fie
2020

2121
To encrypt an auto-generated OAuth2 Client Secret, use flags `--pgp-key`, `--pgp-key-url` or `--keybase` flag, for example:
2222

23-
hydra create oauth2-client -n "my app" -g client_credentials -r token -a core,foobar --keybase keybase_username
23+
hydra create oauth2-client --name "my app" --grant-type client_credentials --response-type token --scope core,foobar --keybase keybase_username
2424

2525

2626
```
@@ -30,7 +30,7 @@ hydra create oauth2-client [flags]
3030
### Examples
3131

3232
```
33-
hydra create oauth2-client -n "my app" -c http://localhost/cb -g authorization_code -r code -a core,foobar
33+
hydra create oauth2-client --name "my app" --redirect-uri http://localhost/cb --grant-type authorization_code --response-type code --scope core,foobar
3434
3535
Use the tool jq (or any other JSON tool) to get the OAuth2 Client ID and Secret:
3636

docs/hydra/cli/hydra-import-oauth2-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Alternatively:
5757
5858
To encrypt an auto-generated OAuth2 Client Secret, use flags `--pgp-key`, `--pgp-key-url` or `--keybase` flag, for example:
5959
60-
hydra import oauth2-client -n "my app" -g client_credentials -r token -a core,foobar --keybase keybase_username
60+
hydra import oauth2-client --name "my app" --grant-type client_credentials --response-type token --scope core,foobar --keybase keybase_username
6161
6262
```
6363

docs/hydra/cli/hydra-update-oauth2-client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ hydra update oauth2-client [id] [flags]
2424
### Examples
2525

2626
```
27-
hydra update oauth2-client <client-id-here> -c http://localhost/cb -g authorization_code -r code -a core,foobar
27+
hydra update oauth2-client <client-id-here> --redirect-uri http://localhost/cb --grant-type authorization_code --response-type code --scope core,foobar
2828
2929
To encrypt an auto-generated OAuth2 Client Secret, use flags `--pgp-key`, `--pgp-key-url` or `--keybase` flag, for example:
3030
31-
hydra update oauth2-client e6e96aa5-9cd2-4a70-bf56-ad6434c8aaa2 -n "my app" -g client_credentials -r token -a core,foobar --keybase keybase_username
31+
hydra update oauth2-client e6e96aa5-9cd2-4a70-bf56-ad6434c8aaa2 --name "my app" --grant-type client_credentials --response-type token --scope core,foobar --keybase keybase_username
3232
3333
```
3434

0 commit comments

Comments
 (0)