11/*
22 * Corbado Backend API
3- * # Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
3+ * # Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
44 *
55 * The version of the OpenAPI document: 2.0.0
66 * Contact: support@corbado.com
2929
3030import com .corbado .generated .model .AuthEvent ;
3131import com .corbado .generated .model .AuthEventCreateReq ;
32- import com .corbado .generated .model .ErrorRsp ;
32+ import com .corbado .generated .model .UserListDefaultResponse ;
3333
3434import java .lang .reflect .Type ;
3535import java .util .ArrayList ;
@@ -76,7 +76,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
7676
7777 /**
7878 * Build call for authEventCreate
79- * @param userID ID of user (required)
79+ * @param userID Unique identifier of the user. Format: `usr-<number>`. (required)
8080 * @param authEventCreateReq (required)
8181 * @param _callback Callback for upload/download progress
8282 * @return Call to execute
@@ -85,11 +85,11 @@ public void setCustomBaseUrl(String customBaseUrl) {
8585 <table border="1">
8686 <caption>Response Details</caption>
8787 <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
88- <tr><td> 200 </td><td> Auth event has been created </td><td> - </td></tr>
88+ <tr><td> 200 </td><td> Auth event has been created. </td><td> - </td></tr>
8989 <tr><td> 0 </td><td> Error </td><td> - </td></tr>
9090 </table>
9191 */
92- public okhttp3 .Call authEventCreateCall (String userID , AuthEventCreateReq authEventCreateReq , final ApiCallback _callback ) throws ApiException {
92+ public okhttp3 .Call authEventCreateCall (@ javax . annotation . Nonnull String userID , @ javax . annotation . Nonnull AuthEventCreateReq authEventCreateReq , final ApiCallback _callback ) throws ApiException {
9393 String basePath = null ;
9494 // Operation Servers
9595 String [] localBasePaths = new String [] { };
@@ -136,7 +136,7 @@ public okhttp3.Call authEventCreateCall(String userID, AuthEventCreateReq authEv
136136 }
137137
138138 @ SuppressWarnings ("rawtypes" )
139- private okhttp3 .Call authEventCreateValidateBeforeCall (String userID , AuthEventCreateReq authEventCreateReq , final ApiCallback _callback ) throws ApiException {
139+ private okhttp3 .Call authEventCreateValidateBeforeCall (@ javax . annotation . Nonnull String userID , @ javax . annotation . Nonnull AuthEventCreateReq authEventCreateReq , final ApiCallback _callback ) throws ApiException {
140140 // verify the required parameter 'userID' is set
141141 if (userID == null ) {
142142 throw new ApiException ("Missing the required parameter 'userID' when calling authEventCreate(Async)" );
@@ -154,39 +154,39 @@ private okhttp3.Call authEventCreateValidateBeforeCall(String userID, AuthEventC
154154 /**
155155 *
156156 * Create a new authentication event for a user
157- * @param userID ID of user (required)
157+ * @param userID Unique identifier of the user. Format: `usr-<number>`. (required)
158158 * @param authEventCreateReq (required)
159159 * @return AuthEvent
160160 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
161161 * @http.response.details
162162 <table border="1">
163163 <caption>Response Details</caption>
164164 <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
165- <tr><td> 200 </td><td> Auth event has been created </td><td> - </td></tr>
165+ <tr><td> 200 </td><td> Auth event has been created. </td><td> - </td></tr>
166166 <tr><td> 0 </td><td> Error </td><td> - </td></tr>
167167 </table>
168168 */
169- public AuthEvent authEventCreate (String userID , AuthEventCreateReq authEventCreateReq ) throws ApiException {
169+ public AuthEvent authEventCreate (@ javax . annotation . Nonnull String userID , @ javax . annotation . Nonnull AuthEventCreateReq authEventCreateReq ) throws ApiException {
170170 ApiResponse <AuthEvent > localVarResp = authEventCreateWithHttpInfo (userID , authEventCreateReq );
171171 return localVarResp .getData ();
172172 }
173173
174174 /**
175175 *
176176 * Create a new authentication event for a user
177- * @param userID ID of user (required)
177+ * @param userID Unique identifier of the user. Format: `usr-<number>`. (required)
178178 * @param authEventCreateReq (required)
179179 * @return ApiResponse<AuthEvent>
180180 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
181181 * @http.response.details
182182 <table border="1">
183183 <caption>Response Details</caption>
184184 <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
185- <tr><td> 200 </td><td> Auth event has been created </td><td> - </td></tr>
185+ <tr><td> 200 </td><td> Auth event has been created. </td><td> - </td></tr>
186186 <tr><td> 0 </td><td> Error </td><td> - </td></tr>
187187 </table>
188188 */
189- public ApiResponse <AuthEvent > authEventCreateWithHttpInfo (String userID , AuthEventCreateReq authEventCreateReq ) throws ApiException {
189+ public ApiResponse <AuthEvent > authEventCreateWithHttpInfo (@ javax . annotation . Nonnull String userID , @ javax . annotation . Nonnull AuthEventCreateReq authEventCreateReq ) throws ApiException {
190190 okhttp3 .Call localVarCall = authEventCreateValidateBeforeCall (userID , authEventCreateReq , null );
191191 Type localVarReturnType = new TypeToken <AuthEvent >(){}.getType ();
192192 return localVarApiClient .execute (localVarCall , localVarReturnType );
@@ -195,7 +195,7 @@ public ApiResponse<AuthEvent> authEventCreateWithHttpInfo(String userID, AuthEve
195195 /**
196196 * (asynchronously)
197197 * Create a new authentication event for a user
198- * @param userID ID of user (required)
198+ * @param userID Unique identifier of the user. Format: `usr-<number>`. (required)
199199 * @param authEventCreateReq (required)
200200 * @param _callback The callback to be executed when the API call finishes
201201 * @return The request call
@@ -204,11 +204,11 @@ public ApiResponse<AuthEvent> authEventCreateWithHttpInfo(String userID, AuthEve
204204 <table border="1">
205205 <caption>Response Details</caption>
206206 <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
207- <tr><td> 200 </td><td> Auth event has been created </td><td> - </td></tr>
207+ <tr><td> 200 </td><td> Auth event has been created. </td><td> - </td></tr>
208208 <tr><td> 0 </td><td> Error </td><td> - </td></tr>
209209 </table>
210210 */
211- public okhttp3 .Call authEventCreateAsync (String userID , AuthEventCreateReq authEventCreateReq , final ApiCallback <AuthEvent > _callback ) throws ApiException {
211+ public okhttp3 .Call authEventCreateAsync (@ javax . annotation . Nonnull String userID , @ javax . annotation . Nonnull AuthEventCreateReq authEventCreateReq , final ApiCallback <AuthEvent > _callback ) throws ApiException {
212212
213213 okhttp3 .Call localVarCall = authEventCreateValidateBeforeCall (userID , authEventCreateReq , _callback );
214214 Type localVarReturnType = new TypeToken <AuthEvent >(){}.getType ();
0 commit comments