Skip to content

Commit

Permalink
autogen(docs): generate and format documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 31, 2020
1 parent fb925cf commit cf90919
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 61 deletions.
9 changes: 5 additions & 4 deletions docs/docs/reference/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6728,10 +6728,11 @@ This endpoint revokes a subject's granted consent sessions for a specific OAuth

#### Parameters

| Parameter | In | Type | Required | Description |
| --------- | ----- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------- |
| subject | query | string | true | The subject (Subject) who's consent sessions should be deleted. |
| client | query | string | false | If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID |
| Parameter | In | Type | Required | Description |
| --------- | ----- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------- |
| subject | query | string | true | The subject (Subject) who's consent sessions should be deleted. |
| client | query | string | false | If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID |
| all | query | boolean | false | If set to `?all=true`, deletes all consent sessions by the Subject that have been granted. |

#### Responses

Expand Down
116 changes: 59 additions & 57 deletions docs/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ log:
# - Windows Command Line (CMD):
# > set LOG_LEVEL=<value>
#
level: panic
level: trace

## leak_sensitive_values ##
#
Expand Down Expand Up @@ -107,7 +107,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_PORT=<value>
#
port: 44136
port: 58567

## host ##
#
Expand Down Expand Up @@ -141,7 +141,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_CORS_ENABLED=<value>
#
enabled: true
enabled: false

## allowed_origins ##
#
Expand Down Expand Up @@ -176,9 +176,9 @@ serve:
# > set SERVE_PUBLIC_CORS_ALLOWED_METHODS=<value>
#
allowed_methods:
- TRACE
- DELETE
- PATCH
- POST
- GET
- HEAD

## allowed_headers ##
#
Expand All @@ -193,10 +193,11 @@ serve:
# > set SERVE_PUBLIC_CORS_ALLOWED_HEADERS=<value>
#
allowed_headers:
- Excepteur
- nulla
- in occaecat
- sed minim laboris elit
- ad incididunt
- ipsum eu dolore id Duis
- consequat eiusmod sit irure
- ad laborum
- esse exercitation mollit commodo eiusmod

## exposed_headers ##
#
Expand All @@ -211,11 +212,10 @@ serve:
# > set SERVE_PUBLIC_CORS_EXPOSED_HEADERS=<value>
#
exposed_headers:
- dolor aliqua anim
- et in
- Ut ipsum in et commodo
- sunt occaecat officia laboris
- laboris quis
- in aliquip aliqua eiusmod commodo
- et do ad qui
- Lorem laborum deserunt anim
- irure id ad

## allow_credentials ##
#
Expand Down Expand Up @@ -257,7 +257,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_CORS_MAX_AGE=<value>
#
max_age: 84920228
max_age: 39268583

## debug ##
#
Expand Down Expand Up @@ -288,7 +288,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_SOCKET_OWNER=<value>
#
owner: culpa ad Lorem laborum dolor
owner: ipsum id occaecat

## group ##
#
Expand All @@ -300,7 +300,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_SOCKET_GROUP=<value>
#
group: dolor ipsum
group: aliqua

## mode ##
#
Expand All @@ -318,7 +318,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_SOCKET_MODE=<value>
#
mode: 202
mode: 450

## access_log ##
#
Expand All @@ -337,7 +337,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_PUBLIC_ACCESS_LOG_DISABLE_FOR_HEALTH=<value>
#
disable_for_health: false
disable_for_health: true

## admin ##
#
Expand All @@ -352,7 +352,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_PORT=<value>
#
port: 11218
port: 3161

## host ##
#
Expand All @@ -367,7 +367,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_HOST=<value>
#
host: localhost
host: ''

## cors ##
#
Expand All @@ -386,7 +386,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_CORS_ENABLED=<value>
#
enabled: false
enabled: true

## allowed_origins ##
#
Expand Down Expand Up @@ -421,8 +421,7 @@ serve:
# > set SERVE_ADMIN_CORS_ALLOWED_METHODS=<value>
#
allowed_methods:
- GET
- DELETE
- POST

## allowed_headers ##
#
Expand All @@ -437,11 +436,11 @@ serve:
# > set SERVE_ADMIN_CORS_ALLOWED_HEADERS=<value>
#
allowed_headers:
- proident
- esse Excepteur voluptate enim
- esse
- amet
- tempor labore id adipisicing ullamco
- in sit amet sint
- in non Lorem
- ad quis nulla
- deserunt
- sunt non

## exposed_headers ##
#
Expand All @@ -456,11 +455,11 @@ serve:
# > set SERVE_ADMIN_CORS_EXPOSED_HEADERS=<value>
#
exposed_headers:
- mollit
- quis
- aliqua anim ea culpa tempor
- proident deserunt Ut
- reprehenderit
- nulla elit irure occaecat
- laborum aute minim laboris
- cillum eiusmod culpa irure
- magna sit
- dolore

## allow_credentials ##
#
Expand Down Expand Up @@ -488,7 +487,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_CORS_OPTIONS_PASSTHROUGH=<value>
#
options_passthrough: true
options_passthrough: false

## max_age ##
#
Expand All @@ -502,7 +501,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_CORS_MAX_AGE=<value>
#
max_age: 51836302
max_age: 30360643

## debug ##
#
Expand Down Expand Up @@ -533,7 +532,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_SOCKET_OWNER=<value>
#
owner: culpa dolore magna Duis consectetur
owner: consequat qui dolore

## group ##
#
Expand All @@ -545,7 +544,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_SOCKET_GROUP=<value>
#
group: reprehenderit esse
group: non

## mode ##
#
Expand All @@ -563,7 +562,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_ADMIN_SOCKET_MODE=<value>
#
mode: 495
mode: 445

## access_log ##
#
Expand Down Expand Up @@ -594,30 +593,30 @@ serve:
# Configures the private key (pem encoded).
#
key:
## base64 ##
## path ##
#
# Set this value using environment variables on
# - Linux/macOS:
# $ export SERVE_TLS_KEY_BASE64=<value>
# $ export SERVE_TLS_KEY_PATH=<value>
# - Windows Command Line (CMD):
# > set SERVE_TLS_KEY_BASE64=<value>
# > set SERVE_TLS_KEY_PATH=<value>
#
base64: b3J5IGh5ZHJhIGlzIGF3ZXNvbWUK
path: /path/to/file.pem

## cert ##
#
# Configures the private key (pem encoded).
#
cert:
## base64 ##
## path ##
#
# Set this value using environment variables on
# - Linux/macOS:
# $ export SERVE_TLS_CERT_BASE64=<value>
# $ export SERVE_TLS_CERT_PATH=<value>
# - Windows Command Line (CMD):
# > set SERVE_TLS_CERT_BASE64=<value>
# > set SERVE_TLS_CERT_PATH=<value>
#
base64: b3J5IGh5ZHJhIGlzIGF3ZXNvbWUK
path: /path/to/file.pem

## allow_termination_from ##
#
Expand All @@ -631,6 +630,10 @@ serve:
#
allow_termination_from:
- 127.0.0.1/32
- 127.0.0.1/32
- 127.0.0.1/32
- 127.0.0.1/32
- 127.0.0.1/32

## cookies ##
#
Expand All @@ -652,7 +655,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_COOKIES_SAME_SITE_MODE=<value>
#
same_site_mode: None
same_site_mode: Strict

## same_site_legacy_workaround ##
#
Expand All @@ -669,7 +672,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_COOKIES_SAME_SITE_LEGACY_WORKAROUND=<value>
#
same_site_legacy_workaround: false
same_site_legacy_workaround: true

## dsn ##
#
Expand All @@ -681,7 +684,7 @@ serve:
# - Windows Command Line (CMD):
# > set DSN=<value>
#
dsn: consequat
dsn: dolor anim aute

## webfinger ##
#
Expand All @@ -708,8 +711,7 @@ webfinger:
# - Windows Command Line (CMD):
# > set WEBFINGER_JWKS_BROADCAST_KEYS=<value>
#
broadcast_keys:
- hydra.openid.id-token
broadcast_keys: hydra.jwt.access-token

## oidc_discovery ##
#
Expand Down Expand Up @@ -1047,7 +1049,7 @@ ttl:
# - Windows Command Line (CMD):
# > set TTL_REFRESH_TOKEN=<value>
#
refresh_token: 1h
refresh_token: -1

## id_token ##
#
Expand Down Expand Up @@ -1095,7 +1097,7 @@ oauth2:
# - Windows Command Line (CMD):
# > set OAUTH2_EXPOSE_INTERNAL_ERRORS=<value>
#
expose_internal_errors: true
expose_internal_errors: false

## hashers ##
#
Expand All @@ -1121,7 +1123,7 @@ oauth2:
# - Windows Command Line (CMD):
# > set OAUTH2_HASHERS_BCRYPT_COST=<value>
#
cost: 16162534
cost: 27714222

## pkce ##
#
Expand Down Expand Up @@ -1350,5 +1352,5 @@ tracing:
# - Windows Command Line (CMD):
# > set TRACING_PROVIDERS_ZIPKIN_SERVER_URL=<value>
#
server_url: https://YVdJWhnaVvXonWBdxPRGNiCfKZBewR.tdgufb4X4VZHwcJzTxR5WW1ncB7KT7yeX5LL7e6Y-Enhr12wXf+kVUf6L3c+
server_url: http://cvhvfNplfLKmuKrmdMAxxqrg.gqzO25rRobl
```

0 comments on commit cf90919

Please sign in to comment.