Skip to content

Commit c8d5f9e

Browse files
committed
autogen: regenerate OpenAPI client for v1.22.57
Version: v1.22.57
1 parent 702bbd3 commit c8d5f9e

809 files changed

Lines changed: 2990 additions & 1338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.openapi-generator/FILES‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ docs/CheckOplSyntaxResult.md
4141
docs/CheckPermissionResult.md
4242
docs/CheckPermissionResultWithError.md
4343
docs/CloudAccount.md
44-
docs/ConsistencyRequestParameters.md
4544
docs/ContinueWith.md
4645
docs/ContinueWithRecoveryUi.md
4746
docs/ContinueWithRecoveryUiFlow.md
@@ -338,6 +337,7 @@ docs/UpdateFedcmFlowBody.md
338337
docs/UpdateIdentityBody.md
339338
docs/UpdateLoginFlowBody.md
340339
docs/UpdateLoginFlowWithCodeMethod.md
340+
docs/UpdateLoginFlowWithDeviceAuthnMethod.md
341341
docs/UpdateLoginFlowWithIdentifierFirstMethod.md
342342
docs/UpdateLoginFlowWithLookupSecretMethod.md
343343
docs/UpdateLoginFlowWithOidcMethod.md
@@ -359,6 +359,9 @@ docs/UpdateRegistrationFlowWithProfileMethod.md
359359
docs/UpdateRegistrationFlowWithSamlMethod.md
360360
docs/UpdateRegistrationFlowWithWebAuthnMethod.md
361361
docs/UpdateSettingsFlowBody.md
362+
docs/UpdateSettingsFlowWithDeviceAuthnMethod.md
363+
docs/UpdateSettingsFlowWithDeviceAuthnMethodAdd.md
364+
docs/UpdateSettingsFlowWithDeviceAuthnMethodDelete.md
362365
docs/UpdateSettingsFlowWithLookupMethod.md
363366
docs/UpdateSettingsFlowWithOidcMethod.md
364367
docs/UpdateSettingsFlowWithPasskeyMethod.md
@@ -472,7 +475,6 @@ src/main/java/sh/ory/model/CheckOplSyntaxResult.java
472475
src/main/java/sh/ory/model/CheckPermissionResult.java
473476
src/main/java/sh/ory/model/CheckPermissionResultWithError.java
474477
src/main/java/sh/ory/model/CloudAccount.java
475-
src/main/java/sh/ory/model/ConsistencyRequestParameters.java
476478
src/main/java/sh/ory/model/ContinueWith.java
477479
src/main/java/sh/ory/model/ContinueWithRecoveryUi.java
478480
src/main/java/sh/ory/model/ContinueWithRecoveryUiFlow.java
@@ -757,6 +759,7 @@ src/main/java/sh/ory/model/UpdateFedcmFlowBody.java
757759
src/main/java/sh/ory/model/UpdateIdentityBody.java
758760
src/main/java/sh/ory/model/UpdateLoginFlowBody.java
759761
src/main/java/sh/ory/model/UpdateLoginFlowWithCodeMethod.java
762+
src/main/java/sh/ory/model/UpdateLoginFlowWithDeviceAuthnMethod.java
760763
src/main/java/sh/ory/model/UpdateLoginFlowWithIdentifierFirstMethod.java
761764
src/main/java/sh/ory/model/UpdateLoginFlowWithLookupSecretMethod.java
762765
src/main/java/sh/ory/model/UpdateLoginFlowWithOidcMethod.java
@@ -778,6 +781,9 @@ src/main/java/sh/ory/model/UpdateRegistrationFlowWithProfileMethod.java
778781
src/main/java/sh/ory/model/UpdateRegistrationFlowWithSamlMethod.java
779782
src/main/java/sh/ory/model/UpdateRegistrationFlowWithWebAuthnMethod.java
780783
src/main/java/sh/ory/model/UpdateSettingsFlowBody.java
784+
src/main/java/sh/ory/model/UpdateSettingsFlowWithDeviceAuthnMethod.java
785+
src/main/java/sh/ory/model/UpdateSettingsFlowWithDeviceAuthnMethodAdd.java
786+
src/main/java/sh/ory/model/UpdateSettingsFlowWithDeviceAuthnMethodDelete.java
781787
src/main/java/sh/ory/model/UpdateSettingsFlowWithLookupMethod.java
782788
src/main/java/sh/ory/model/UpdateSettingsFlowWithOidcMethod.java
783789
src/main/java/sh/ory/model/UpdateSettingsFlowWithPasskeyMethod.java
@@ -858,7 +864,6 @@ src/test/java/sh/ory/model/CheckOplSyntaxResultTest.java
858864
src/test/java/sh/ory/model/CheckPermissionResultTest.java
859865
src/test/java/sh/ory/model/CheckPermissionResultWithErrorTest.java
860866
src/test/java/sh/ory/model/CloudAccountTest.java
861-
src/test/java/sh/ory/model/ConsistencyRequestParametersTest.java
862867
src/test/java/sh/ory/model/ContinueWithRecoveryUiFlowTest.java
863868
src/test/java/sh/ory/model/ContinueWithRecoveryUiTest.java
864869
src/test/java/sh/ory/model/ContinueWithRedirectBrowserToTest.java
@@ -1143,6 +1148,7 @@ src/test/java/sh/ory/model/UpdateFedcmFlowBodyTest.java
11431148
src/test/java/sh/ory/model/UpdateIdentityBodyTest.java
11441149
src/test/java/sh/ory/model/UpdateLoginFlowBodyTest.java
11451150
src/test/java/sh/ory/model/UpdateLoginFlowWithCodeMethodTest.java
1151+
src/test/java/sh/ory/model/UpdateLoginFlowWithDeviceAuthnMethodTest.java
11461152
src/test/java/sh/ory/model/UpdateLoginFlowWithIdentifierFirstMethodTest.java
11471153
src/test/java/sh/ory/model/UpdateLoginFlowWithLookupSecretMethodTest.java
11481154
src/test/java/sh/ory/model/UpdateLoginFlowWithOidcMethodTest.java
@@ -1164,6 +1170,9 @@ src/test/java/sh/ory/model/UpdateRegistrationFlowWithProfileMethodTest.java
11641170
src/test/java/sh/ory/model/UpdateRegistrationFlowWithSamlMethodTest.java
11651171
src/test/java/sh/ory/model/UpdateRegistrationFlowWithWebAuthnMethodTest.java
11661172
src/test/java/sh/ory/model/UpdateSettingsFlowBodyTest.java
1173+
src/test/java/sh/ory/model/UpdateSettingsFlowWithDeviceAuthnMethodAddTest.java
1174+
src/test/java/sh/ory/model/UpdateSettingsFlowWithDeviceAuthnMethodDeleteTest.java
1175+
src/test/java/sh/ory/model/UpdateSettingsFlowWithDeviceAuthnMethodTest.java
11671176
src/test/java/sh/ory/model/UpdateSettingsFlowWithLookupMethodTest.java
11681177
src/test/java/sh/ory/model/UpdateSettingsFlowWithOidcMethodTest.java
11691178
src/test/java/sh/ory/model/UpdateSettingsFlowWithPasskeyMethodTest.java

‎api/openapi.yaml‎

Lines changed: 93 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ info:
3939
url: https://www.apache.org/licenses/LICENSE-2.0.html
4040
termsOfService: /tos
4141
title: Ory APIs
42-
version: v1.22.56
42+
version: v1.22.57
4343
servers:
4444
- url: "https://{project_slug}.projects.oryapis.com/"
4545
variables:
@@ -15181,40 +15181,6 @@ components:
1518115181
- id
1518215182
- name
1518315183
type: object
15184-
consistencyRequestParameters:
15185-
description: Control API consistency guarantees
15186-
properties:
15187-
consistency:
15188-
description: |-
15189-
Read Consistency Level (preview)
15190-
15191-
The read consistency level determines the consistency guarantee for reads:
15192-
15193-
strong (slow): The read is guaranteed to return the most recent data committed at the start of the read.
15194-
eventual (very fast): The result will return data that is about 4.8 seconds old.
15195-
15196-
The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with
15197-
`ory patch project --replace '/previews/default_read_consistency_level="strong"'`.
15198-
15199-
Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency
15200-
controls to more APIs. Currently, the following APIs will be affected by this setting:
15201-
15202-
`GET /admin/identities`
15203-
15204-
This feature is in preview and only available in Ory Network.
15205-
ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.
15206-
strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.
15207-
eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
15208-
enum:
15209-
- ""
15210-
- strong
15211-
- eventual
15212-
type: string
15213-
x-go-enum-desc: |2-
15214-
ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.
15215-
strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.
15216-
eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
15217-
type: object
1521815184
continueWith:
1521915185
discriminator:
1522015186
mapping:
@@ -28357,6 +28323,7 @@ components:
2835728323
discriminator:
2835828324
mapping:
2835928325
code: '#/components/schemas/updateLoginFlowWithCodeMethod'
28326+
deviceauthn: '#/components/schemas/updateLoginFlowWithDeviceAuthnMethod'
2836028327
identifier_first: '#/components/schemas/updateLoginFlowWithIdentifierFirstMethod'
2836128328
lookup_secret: '#/components/schemas/updateLoginFlowWithLookupSecretMethod'
2836228329
oidc: '#/components/schemas/updateLoginFlowWithOidcMethod'
@@ -28372,6 +28339,7 @@ components:
2837228339
- $ref: '#/components/schemas/updateLoginFlowWithSamlMethod'
2837328340
- $ref: '#/components/schemas/updateLoginFlowWithTotpMethod'
2837428341
- $ref: '#/components/schemas/updateLoginFlowWithWebAuthnMethod'
28342+
- $ref: '#/components/schemas/updateLoginFlowWithDeviceAuthnMethod'
2837528343
- $ref: '#/components/schemas/updateLoginFlowWithLookupSecretMethod'
2837628344
- $ref: '#/components/schemas/updateLoginFlowWithCodeMethod'
2837728345
- $ref: '#/components/schemas/updateLoginFlowWithPasskeyMethod'
@@ -28409,6 +28377,31 @@ components:
2840928377
- csrf_token
2841028378
- method
2841128379
type: object
28380+
updateLoginFlowWithDeviceAuthnMethod:
28381+
description: No CSRF token since this method may not be used from the browser.
28382+
properties:
28383+
client_key_id:
28384+
description: |-
28385+
Login with a DeviceAuthn Security Key.
28386+
28387+
This must contain the client ID of the DeviceAuthN key,
28388+
a.k.a 'key alias' on Android and 'key id' on iOS.
28389+
type: string
28390+
method:
28391+
description: Method should be set to "deviceauthn" when logging in using
28392+
the DeviceAuthn strategy.
28393+
type: string
28394+
signature:
28395+
description: Signature is a ES256 signature of the server-provided challenge.
28396+
format: byte
28397+
type: string
28398+
transient_payload:
28399+
description: Transient data to pass along to any webhooks
28400+
type: object
28401+
required:
28402+
- method
28403+
title: Update Login Flow with DeviceAuthn Method
28404+
type: object
2841228405
updateLoginFlowWithIdentifierFirstMethod:
2841328406
description: Update Login Flow with Multi-Step Method
2841428407
properties:
@@ -29025,6 +29018,7 @@ components:
2902529018
description: Update Settings Flow Request Body
2902629019
discriminator:
2902729020
mapping:
29021+
deviceauthn: '#/components/schemas/updateSettingsFlowWithDeviceAuthnMethod'
2902829022
lookup_secret: '#/components/schemas/updateSettingsFlowWithLookupMethod'
2902929023
oidc: '#/components/schemas/updateSettingsFlowWithOidcMethod'
2903029024
passkey: '#/components/schemas/updateSettingsFlowWithPasskeyMethod'
@@ -29043,6 +29037,70 @@ components:
2904329037
- $ref: '#/components/schemas/updateSettingsFlowWithWebAuthnMethod'
2904429038
- $ref: '#/components/schemas/updateSettingsFlowWithLookupMethod'
2904529039
- $ref: '#/components/schemas/updateSettingsFlowWithPasskeyMethod'
29040+
- $ref: '#/components/schemas/updateSettingsFlowWithDeviceAuthnMethod'
29041+
updateSettingsFlowWithDeviceAuthnMethod:
29042+
description: Update Settings Flow with DeviceAuthn Method
29043+
properties:
29044+
add:
29045+
$ref: '#/components/schemas/updateSettingsFlowWithDeviceAuthnMethodAdd'
29046+
csrf_token:
29047+
description: |-
29048+
CSRFToken is the anti-CSRF token
29049+
It only is required to remove a key from the browser.
29050+
type: string
29051+
delete:
29052+
$ref: '#/components/schemas/updateSettingsFlowWithDeviceAuthnMethodDelete'
29053+
method:
29054+
description: |-
29055+
Method
29056+
29057+
Should be set to "deviceauthn" when trying to add or remove a DeviceAuthn key.
29058+
type: string
29059+
transient_payload:
29060+
description: Transient data to pass along to any webhooks
29061+
type: object
29062+
required:
29063+
- method
29064+
type: object
29065+
updateSettingsFlowWithDeviceAuthnMethodAdd:
29066+
properties:
29067+
attestation_ios:
29068+
format: byte
29069+
type: string
29070+
certificate_chain_android:
29071+
description: |-
29072+
CertificateChainAndroid is a list of base64 strings for creating a key on Android.
29073+
Each element is a certificate.
29074+
The first element is the leaf, corresponding to the on-device key, the last is the root (Google CA).
29075+
items:
29076+
format: byte
29077+
type: string
29078+
type: array
29079+
client_key_id:
29080+
description: ClientKeyID is the key id/alias on the device.
29081+
type: string
29082+
device_name:
29083+
description: DeviceName is a human-readable name for the device e.g. 'My
29084+
work phone'.
29085+
type: string
29086+
version:
29087+
description: |-
29088+
Version is the version number for the cryptography.
29089+
For now only `1` is supported which corresponds to SHA256 + EC.
29090+
format: int64
29091+
type: integer
29092+
required:
29093+
- client_key_id
29094+
- device_name
29095+
type: object
29096+
updateSettingsFlowWithDeviceAuthnMethodDelete:
29097+
properties:
29098+
client_key_id:
29099+
description: ClientKeyID is the key id/alias on the device.
29100+
type: string
29101+
required:
29102+
- client_key_id
29103+
type: object
2904629104
updateSettingsFlowWithLookupMethod:
2904729105
description: Update Settings Flow with Lookup Method
2904829106
properties:

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'sh.ory'
7-
version = 'v1.22.56'
7+
version = 'v1.22.57'
88

99
buildscript {
1010
repositories {

‎build.sbt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "sh.ory",
44
name := "client",
5-
version := "v1.22.56",
5+
version := "v1.22.57",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

‎docs/ConsistencyRequestParameters.md‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎docs/UpdateLoginFlowBody.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
|**upstreamParameters** | **Object** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. `acr_values` (string): The `acr_values` specifies the Authentication Context Class Reference values for the authorization request. | [optional] |
2121
|**totpCode** | **String** | The TOTP code. | |
2222
|**webauthnLogin** | **String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] |
23+
|**clientKeyId** | **String** | Login with a DeviceAuthn Security Key. This must contain the client ID of the DeviceAuthN key, a.k.a 'key alias' on Android and 'key id' on iOS. | [optional] |
24+
|**signature** | **byte[]** | Signature is a ES256 signature of the server-provided challenge. | [optional] |
2325
|**lookupSecret** | **String** | The lookup secret. | |
2426
|**address** | **String** | Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. | [optional] |
2527
|**code** | **String** | Code is the 6 digits code sent to the user | [optional] |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# UpdateLoginFlowWithDeviceAuthnMethod
4+
5+
No CSRF token since this method may not be used from the browser.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**clientKeyId** | **String** | Login with a DeviceAuthn Security Key. This must contain the client ID of the DeviceAuthN key, a.k.a 'key alias' on Android and 'key id' on iOS. | [optional] |
12+
|**method** | **String** | Method should be set to \"deviceauthn\" when logging in using the DeviceAuthn strategy. | |
13+
|**signature** | **byte[]** | Signature is a ES256 signature of the server-provided challenge. | [optional] |
14+
|**transientPayload** | **Object** | Transient data to pass along to any webhooks | [optional] |
15+
16+
17+

‎docs/UpdateSettingsFlowBody.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Update Settings Flow Request Body
88

99
| Name | Type | Description | Notes |
1010
|------------ | ------------- | ------------- | -------------|
11-
|**csrfToken** | **String** | CSRFToken is the anti-CSRF token | [optional] |
12-
|**method** | **String** | Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. | |
11+
|**csrfToken** | **String** | CSRFToken is the anti-CSRF token It only is required to remove a key from the browser. | [optional] |
12+
|**method** | **String** | Method Should be set to \"deviceauthn\" when trying to add or remove a DeviceAuthn key. | |
1313
|**password** | **String** | Password is the updated password | |
1414
|**transientPayload** | **Object** | Transient data to pass along to any webhooks | [optional] |
1515
|**traits** | **Object** | The identity's traits in: body | |
@@ -28,6 +28,8 @@ Update Settings Flow Request Body
2828
|**lookupSecretReveal** | **Boolean** | If set to true will reveal the lookup secrets | [optional] |
2929
|**passkeyRemove** | **String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] |
3030
|**passkeySettingsRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] |
31+
|**add** | [**UpdateSettingsFlowWithDeviceAuthnMethodAdd**](UpdateSettingsFlowWithDeviceAuthnMethodAdd.md) | | [optional] |
32+
|**delete** | [**UpdateSettingsFlowWithDeviceAuthnMethodDelete**](UpdateSettingsFlowWithDeviceAuthnMethodDelete.md) | | [optional] |
3133

3234

3335

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# UpdateSettingsFlowWithDeviceAuthnMethod
4+
5+
Update Settings Flow with DeviceAuthn Method
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**add** | [**UpdateSettingsFlowWithDeviceAuthnMethodAdd**](UpdateSettingsFlowWithDeviceAuthnMethodAdd.md) | | [optional] |
12+
|**csrfToken** | **String** | CSRFToken is the anti-CSRF token It only is required to remove a key from the browser. | [optional] |
13+
|**delete** | [**UpdateSettingsFlowWithDeviceAuthnMethodDelete**](UpdateSettingsFlowWithDeviceAuthnMethodDelete.md) | | [optional] |
14+
|**method** | **String** | Method Should be set to \"deviceauthn\" when trying to add or remove a DeviceAuthn key. | |
15+
|**transientPayload** | **Object** | Transient data to pass along to any webhooks | [optional] |
16+
17+
18+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# UpdateSettingsFlowWithDeviceAuthnMethodAdd
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**attestationIos** | **byte[]** | | [optional] |
11+
|**certificateChainAndroid** | **List<byte[]>** | CertificateChainAndroid is a list of base64 strings for creating a key on Android. Each element is a certificate. The first element is the leaf, corresponding to the on-device key, the last is the root (Google CA). | [optional] |
12+
|**clientKeyId** | **String** | ClientKeyID is the key id/alias on the device. | |
13+
|**deviceName** | **String** | DeviceName is a human-readable name for the device e.g. 'My work phone'. | |
14+
|**version** | **Long** | Version is the version number for the cryptography. For now only `1` is supported which corresponds to SHA256 + EC. | [optional] |
15+
16+
17+

0 commit comments

Comments
 (0)