Skip to content

Commit 55e65ba

Browse files
committed
docs: bump to d9264ae28d61276e444544cfee6abb5adbf5632b
1 parent 0ffde36 commit 55e65ba

1 file changed

Lines changed: 30 additions & 43 deletions

File tree

docs/reference/api.json

Lines changed: 30 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@
959959
"default": "720h",
960960
"description": "Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.\n\nThis feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.\n\nUseful as a safety measure and recommended to keep below 720h.\n\nThis governs the \"oauth2.grant.jwt.max_ttl\" setting.",
961961
"example": "30m",
962-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
962+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
963963
"type": "string"
964964
},
965965
"hydra_oauth2_grant_refresh_token_rotation_grace_period": {
@@ -1075,35 +1075,35 @@
10751075
"default": "30m",
10761076
"description": "This governs the \"ttl.access_token\" setting.",
10771077
"example": "1h",
1078-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1078+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
10791079
"type": "string"
10801080
},
10811081
"hydra_ttl_auth_code": {
10821082
"default": "720h",
10831083
"description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.auth_code\" setting.",
10841084
"example": "30m",
1085-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1085+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
10861086
"type": "string"
10871087
},
10881088
"hydra_ttl_id_token": {
10891089
"default": "30m",
10901090
"description": "This governs the \"ttl.id_token\" setting.",
10911091
"example": "1h",
1092-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1092+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
10931093
"type": "string"
10941094
},
10951095
"hydra_ttl_login_consent_request": {
10961096
"default": "30m",
10971097
"description": "Configures how long a user login and consent flow may take.\n\nThis governs the \"ttl.login_consent_request\" setting.",
10981098
"example": "1h",
1099-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1099+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
11001100
"type": "string"
11011101
},
11021102
"hydra_ttl_refresh_token": {
11031103
"default": "720h",
11041104
"description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.refresh_token\" setting.",
11051105
"example": "30m",
1106-
"pattern": "^([0-9]+(ns|us|ms|s|m|h)|-1)$",
1106+
"pattern": "^(([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+|-1)$",
11071107
"type": "string"
11081108
},
11091109
"hydra_urls_consent": {
@@ -1975,19 +1975,19 @@
19751975
"talos_cache_ttl": {
19761976
"description": "Talos cache TTL controls how long API key verification results are cached.",
19771977
"example": "5m",
1978-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1978+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
19791979
"type": "string"
19801980
},
19811981
"talos_credentials_api_keys_default_ttl": {
19821982
"description": "Talos API keys default TTL.",
19831983
"example": "1h",
1984-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1984+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
19851985
"type": "string"
19861986
},
19871987
"talos_credentials_api_keys_max_ttl": {
19881988
"description": "Talos API keys max TTL.",
19891989
"example": "24h",
1990-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
1990+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
19911991
"type": "string"
19921992
},
19931993
"talos_credentials_api_keys_prefix_current": {
@@ -2015,7 +2015,7 @@
20152015
"talos_credentials_derived_tokens_default_ttl": {
20162016
"description": "Talos derived tokens default TTL (applies to both JWT and macaroon tokens).",
20172017
"example": "1h",
2018-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
2018+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
20192019
"type": "string"
20202020
},
20212021
"talos_credentials_derived_tokens_jwt_signing_key_id": {
@@ -2859,7 +2859,7 @@
28592859
},
28602860
"NullDuration": {
28612861
"nullable": true,
2862-
"pattern": "^[0-9]+(ns|us|ms|s|m|h)$",
2862+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
28632863
"type": "string"
28642864
},
28652865
"NullInt": {
@@ -4349,7 +4349,7 @@
43494349
"properties": {
43504350
"expires_in": {
43514351
"description": "Code Expires In\n\nThe recovery code will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.",
4352-
"pattern": "^([0-9]+(ns|us|ms|s|m|h))*$",
4352+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
43534353
"type": "string"
43544354
},
43554355
"flow_type": {
@@ -4369,7 +4369,7 @@
43694369
"properties": {
43704370
"expires_in": {
43714371
"description": "Link Expires In\n\nThe recovery link will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.",
4372-
"pattern": "^[0-9]+(ns|us|ms|s|m|h)$",
4372+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
43734373
"type": "string"
43744374
},
43754375
"identity_id": {
@@ -7349,7 +7349,7 @@
73497349
"default": "720h",
73507350
"description": "Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.\n\nThis feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.\n\nUseful as a safety measure and recommended to keep below 720h.\n\nThis governs the \"oauth2.grant.jwt.max_ttl\" setting.",
73517351
"example": "30m",
7352-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
7352+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
73537353
"type": "string"
73547354
},
73557355
"hydra_oauth2_grant_refresh_token_rotation_grace_period": {
@@ -7465,35 +7465,35 @@
74657465
"default": "30m",
74667466
"description": "This governs the \"ttl.access_token\" setting.",
74677467
"example": "1h",
7468-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
7468+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
74697469
"type": "string"
74707470
},
74717471
"hydra_ttl_auth_code": {
74727472
"default": "720h",
74737473
"description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.auth_code\" setting.",
74747474
"example": "30m",
7475-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
7475+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
74767476
"type": "string"
74777477
},
74787478
"hydra_ttl_id_token": {
74797479
"default": "30m",
74807480
"description": "This governs the \"ttl.id_token\" setting.",
74817481
"example": "1h",
7482-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
7482+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
74837483
"type": "string"
74847484
},
74857485
"hydra_ttl_login_consent_request": {
74867486
"default": "30m",
74877487
"description": "Configures how long a user login and consent flow may take.\n\nThis governs the \"ttl.login_consent_request\" setting.",
74887488
"example": "1h",
7489-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
7489+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
74907490
"type": "string"
74917491
},
74927492
"hydra_ttl_refresh_token": {
74937493
"default": "720h",
74947494
"description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.refresh_token\" setting.",
74957495
"example": "30m",
7496-
"pattern": "^([0-9]+(ns|us|ms|s|m|h)|-1)$",
7496+
"pattern": "^(([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+|-1)$",
74977497
"type": "string"
74987498
},
74997499
"hydra_urls_consent": {
@@ -8365,19 +8365,19 @@
83658365
"talos_cache_ttl": {
83668366
"description": "Talos cache TTL controls how long API key verification results are cached.",
83678367
"example": "5m",
8368-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
8368+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
83698369
"type": "string"
83708370
},
83718371
"talos_credentials_api_keys_default_ttl": {
83728372
"description": "Talos API keys default TTL.",
83738373
"example": "1h",
8374-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
8374+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
83758375
"type": "string"
83768376
},
83778377
"talos_credentials_api_keys_max_ttl": {
83788378
"description": "Talos API keys max TTL.",
83798379
"example": "24h",
8380-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
8380+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
83818381
"type": "string"
83828382
},
83838383
"talos_credentials_api_keys_prefix_current": {
@@ -8405,7 +8405,7 @@
84058405
"talos_credentials_derived_tokens_default_ttl": {
84068406
"description": "Talos derived tokens default TTL (applies to both JWT and macaroon tokens).",
84078407
"example": "1h",
8408-
"pattern": "^(\\d+(\\.\\d+)?(ns|us|µs|ms|s|m|h))+$",
8408+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
84098409
"type": "string"
84108410
},
84118411
"talos_credentials_derived_tokens_jwt_signing_key_id": {
@@ -8944,7 +8944,7 @@
89448944
"default": "1m",
89458945
"description": "Token time to live",
89468946
"example": "1h",
8947-
"pattern": "^[0-9]+(ns|us|ms|s|m|h)$",
8947+
"pattern": "^([0-9]+([.][0-9]+)?(ns|us|µs|ms|s|m|h))+$",
89488948
"type": "string"
89498949
},
89508950
"updated_at": {
@@ -8972,11 +8972,6 @@
89728972
"nullable": true,
89738973
"type": "boolean"
89748974
},
8975-
"nullDuration": {
8976-
"nullable": true,
8977-
"pattern": "^[0-9]+(ns|us|ms|s|m|h)$",
8978-
"type": "string"
8979-
},
89808975
"nullInt64": {
89818976
"nullable": true,
89828977
"type": "integer"
@@ -9473,21 +9468,23 @@
94739468
"oAuth2LogoutRequest": {
94749469
"properties": {
94759470
"challenge": {
9476-
"description": "Challenge is the identifier of the logout authentication request.",
9471+
"description": "Challenge is used to retrieve/accept/deny the logout request.",
94779472
"type": "string"
94789473
},
94799474
"client": {
94809475
"$ref": "#/components/schemas/oAuth2Client"
94819476
},
94829477
"expires_at": {
9483-
"$ref": "#/components/schemas/nullTime"
9478+
"format": "date-time",
9479+
"type": "string"
94849480
},
94859481
"request_url": {
94869482
"description": "RequestURL is the original Logout URL requested.",
94879483
"type": "string"
94889484
},
94899485
"requested_at": {
9490-
"$ref": "#/components/schemas/nullTime"
9486+
"format": "date-time",
9487+
"type": "string"
94919488
},
94929489
"rp_initiated": {
94939490
"description": "RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.",
@@ -9498,7 +9495,7 @@
94989495
"type": "string"
94999496
},
95009497
"subject": {
9501-
"description": "Subject is the user for whom the logout was request.",
9498+
"description": "Subject is the user for whom the logout was requested.",
95029499
"type": "string"
95039500
}
95049501
},
@@ -16521,16 +16518,6 @@
1652116518
},
1652216519
"description": "oAuth2LogoutRequest"
1652316520
},
16524-
"410": {
16525-
"content": {
16526-
"application/json": {
16527-
"schema": {
16528-
"$ref": "#/components/schemas/oAuth2RedirectTo"
16529-
}
16530-
}
16531-
},
16532-
"description": "oAuth2RedirectTo"
16533-
},
1653416521
"default": {
1653516522
"content": {
1653616523
"application/json": {

0 commit comments

Comments
 (0)