Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 4cb612b

Browse files
Update API Client
#### What's Changed --- ##### `GET` /stages/identification/{stage_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ##### `PUT` /stages/identification/{stage_uuid}/ ###### Request: Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ##### `PATCH` /stages/identification/{stage_uuid}/ ###### Request: Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ##### `POST` /stages/identification/ ###### Request: Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered. ##### `GET` /stages/identification/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > IdentificationStage Serializer * Added property `pretend_user_exists` (boolean) > When enabled, the stage will succeed and continue even when incorrect user info is entered.
1 parent f2727e3 commit 4cb612b

7 files changed

+33
-3
lines changed

docs/IdentificationStage.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
2020
**passwordlessFlow** | [**java.util.UUID**](java.util.UUID.md) | Optional passwordless flow, which is linked at the bottom of the page. | [optional]
2121
**sources** | [**kotlin.collections.List<java.util.UUID>**](java.util.UUID.md) | Specify which sources should be shown. | [optional]
2222
**showSourceLabels** | **kotlin.Boolean** | | [optional]
23+
**pretendUserExists** | **kotlin.Boolean** | When enabled, the stage will succeed and continue even when incorrect user info is entered. | [optional]
2324

2425

2526

docs/IdentificationStageRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**passwordlessFlow** | [**java.util.UUID**](java.util.UUID.md) | Optional passwordless flow, which is linked at the bottom of the page. | [optional]
1616
**sources** | [**kotlin.collections.List<java.util.UUID>**](java.util.UUID.md) | Specify which sources should be shown. | [optional]
1717
**showSourceLabels** | **kotlin.Boolean** | | [optional]
18+
**pretendUserExists** | **kotlin.Boolean** | When enabled, the stage will succeed and continue even when incorrect user info is entered. | [optional]
1819

1920

2021

docs/PatchedIdentificationStageRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**passwordlessFlow** | [**java.util.UUID**](java.util.UUID.md) | Optional passwordless flow, which is linked at the bottom of the page. | [optional]
1616
**sources** | [**kotlin.collections.List<java.util.UUID>**](java.util.UUID.md) | Specify which sources should be shown. | [optional]
1717
**showSourceLabels** | **kotlin.Boolean** | | [optional]
18+
**pretendUserExists** | **kotlin.Boolean** | When enabled, the stage will succeed and continue even when incorrect user info is entered. | [optional]
1819

1920

2021

schema.yml

+12
Original file line numberDiff line numberDiff line change
@@ -32013,6 +32013,10 @@ components:
3201332013
description: Specify which sources should be shown.
3201432014
show_source_labels:
3201532015
type: boolean
32016+
pretend_user_exists:
32017+
type: boolean
32018+
description: When enabled, the stage will succeed and continue even when
32019+
incorrect user info is entered.
3201632020
required:
3201732021
- component
3201832022
- meta_model_name
@@ -32077,6 +32081,10 @@ components:
3207732081
description: Specify which sources should be shown.
3207832082
show_source_labels:
3207932083
type: boolean
32084+
pretend_user_exists:
32085+
type: boolean
32086+
description: When enabled, the stage will succeed and continue even when
32087+
incorrect user info is entered.
3208032088
required:
3208132089
- name
3208232090
InstallID:
@@ -36560,6 +36568,10 @@ components:
3656036568
description: Specify which sources should be shown.
3656136569
show_source_labels:
3656236570
type: boolean
36571+
pretend_user_exists:
36572+
type: boolean
36573+
description: When enabled, the stage will succeed and continue even when
36574+
incorrect user info is entered.
3656336575
PatchedInvitationRequest:
3656436576
type: object
3656536577
description: Invitation Serializer

src/main/kotlin/io/goauthentik/api/models/IdentificationStage.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import com.squareup.moshi.JsonClass
4040
* @param passwordlessFlow Optional passwordless flow, which is linked at the bottom of the page.
4141
* @param sources Specify which sources should be shown.
4242
* @param showSourceLabels
43+
* @param pretendUserExists When enabled, the stage will succeed and continue even when incorrect user info is entered.
4344
*/
4445

4546

@@ -103,7 +104,11 @@ data class IdentificationStage (
103104
val sources: kotlin.collections.List<java.util.UUID>? = null,
104105

105106
@Json(name = "show_source_labels")
106-
val showSourceLabels: kotlin.Boolean? = null
107+
val showSourceLabels: kotlin.Boolean? = null,
108+
109+
/* When enabled, the stage will succeed and continue even when incorrect user info is entered. */
110+
@Json(name = "pretend_user_exists")
111+
val pretendUserExists: kotlin.Boolean? = null
107112

108113
)
109114

src/main/kotlin/io/goauthentik/api/models/IdentificationStageRequest.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import com.squareup.moshi.JsonClass
3535
* @param passwordlessFlow Optional passwordless flow, which is linked at the bottom of the page.
3636
* @param sources Specify which sources should be shown.
3737
* @param showSourceLabels
38+
* @param pretendUserExists When enabled, the stage will succeed and continue even when incorrect user info is entered.
3839
*/
3940

4041

@@ -79,7 +80,11 @@ data class IdentificationStageRequest (
7980
val sources: kotlin.collections.List<java.util.UUID>? = null,
8081

8182
@Json(name = "show_source_labels")
82-
val showSourceLabels: kotlin.Boolean? = null
83+
val showSourceLabels: kotlin.Boolean? = null,
84+
85+
/* When enabled, the stage will succeed and continue even when incorrect user info is entered. */
86+
@Json(name = "pretend_user_exists")
87+
val pretendUserExists: kotlin.Boolean? = null
8388

8489
)
8590

src/main/kotlin/io/goauthentik/api/models/PatchedIdentificationStageRequest.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import com.squareup.moshi.JsonClass
3535
* @param passwordlessFlow Optional passwordless flow, which is linked at the bottom of the page.
3636
* @param sources Specify which sources should be shown.
3737
* @param showSourceLabels
38+
* @param pretendUserExists When enabled, the stage will succeed and continue even when incorrect user info is entered.
3839
*/
3940

4041

@@ -79,7 +80,11 @@ data class PatchedIdentificationStageRequest (
7980
val sources: kotlin.collections.List<java.util.UUID>? = null,
8081

8182
@Json(name = "show_source_labels")
82-
val showSourceLabels: kotlin.Boolean? = null
83+
val showSourceLabels: kotlin.Boolean? = null,
84+
85+
/* When enabled, the stage will succeed and continue even when incorrect user info is entered. */
86+
@Json(name = "pretend_user_exists")
87+
val pretendUserExists: kotlin.Boolean? = null
8388

8489
)
8590

0 commit comments

Comments
 (0)