Skip to content

Commit 0a4e8ac

Browse files
committed
autogen: regenerate OpenAPI client for v1.16.6
Version: v1.16.6
1 parent f4ec4fe commit 0a4e8ac

20 files changed

+1387
-1
lines changed

.openapi-generator/FILES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ doc/CourierMessageStatus.md
3737
doc/CourierMessageType.md
3838
doc/CreateCustomDomainBody.md
3939
doc/CreateEventStreamBody.md
40+
doc/CreateFedcmFlowResponse.md
4041
doc/CreateIdentityBody.md
4142
doc/CreateInviteResponse.md
4243
doc/CreateJsonWebKeySet.md
@@ -186,6 +187,7 @@ doc/ProjectServiceIdentity.md
186187
doc/ProjectServiceOAuth2.md
187188
doc/ProjectServicePermission.md
188189
doc/ProjectServices.md
190+
doc/Provider.md
189191
doc/QuotaUsage.md
190192
doc/RFC6749ErrorJson.md
191193
doc/RecoveryCodeForIdentity.md
@@ -241,6 +243,7 @@ doc/UiNodeMeta.md
241243
doc/UiNodeScriptAttributes.md
242244
doc/UiNodeTextAttributes.md
243245
doc/UiText.md
246+
doc/UpdateFedcmFlowBody.md
244247
doc/UpdateIdentityBody.md
245248
doc/UpdateLoginFlowBody.md
246249
doc/UpdateLoginFlowWithCodeMethod.md
@@ -343,6 +346,7 @@ lib/src/model/courier_message_status.dart
343346
lib/src/model/courier_message_type.dart
344347
lib/src/model/create_custom_domain_body.dart
345348
lib/src/model/create_event_stream_body.dart
349+
lib/src/model/create_fedcm_flow_response.dart
346350
lib/src/model/create_identity_body.dart
347351
lib/src/model/create_invite_response.dart
348352
lib/src/model/create_json_web_key_set.dart
@@ -484,6 +488,7 @@ lib/src/model/project_service_identity.dart
484488
lib/src/model/project_service_o_auth2.dart
485489
lib/src/model/project_service_permission.dart
486490
lib/src/model/project_services.dart
491+
lib/src/model/provider.dart
487492
lib/src/model/quota_usage.dart
488493
lib/src/model/recovery_code_for_identity.dart
489494
lib/src/model/recovery_flow.dart
@@ -538,6 +543,7 @@ lib/src/model/ui_node_meta.dart
538543
lib/src/model/ui_node_script_attributes.dart
539544
lib/src/model/ui_node_text_attributes.dart
540545
lib/src/model/ui_text.dart
546+
lib/src/model/update_fedcm_flow_body.dart
541547
lib/src/model/update_identity_body.dart
542548
lib/src/model/update_login_flow_body.dart
543549
lib/src/model/update_login_flow_with_code_method.dart
@@ -619,6 +625,7 @@ test/courier_message_status_test.dart
619625
test/courier_message_type_test.dart
620626
test/create_custom_domain_body_test.dart
621627
test/create_event_stream_body_test.dart
628+
test/create_fedcm_flow_response_test.dart
622629
test/create_identity_body_test.dart
623630
test/create_invite_response_test.dart
624631
test/create_json_web_key_set_test.dart
@@ -768,6 +775,7 @@ test/project_service_o_auth2_test.dart
768775
test/project_service_permission_test.dart
769776
test/project_services_test.dart
770777
test/project_test.dart
778+
test/provider_test.dart
771779
test/quota_usage_test.dart
772780
test/recovery_code_for_identity_test.dart
773781
test/recovery_flow_state_test.dart
@@ -823,6 +831,7 @@ test/ui_node_script_attributes_test.dart
823831
test/ui_node_test.dart
824832
test/ui_node_text_attributes_test.dart
825833
test/ui_text_test.dart
834+
test/update_fedcm_flow_body_test.dart
826835
test/update_identity_body_test.dart
827836
test/update_login_flow_body_test.dart
828837
test/update_login_flow_with_code_method_test.dart

doc/CreateFedcmFlowResponse.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# ory_client.model.CreateFedcmFlowResponse
2+
3+
## Load the model package
4+
```dart
5+
import 'package:ory_client/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**csrfToken** | **String** | | [optional]
12+
**providers** | [**BuiltList<Provider>**](Provider.md) | | [optional]
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

doc/FrontendApi.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Method | HTTP request | Description
1515
[**createBrowserRegistrationFlow**](FrontendApi.md#createbrowserregistrationflow) | **GET** /self-service/registration/browser | Create Registration Flow for Browsers
1616
[**createBrowserSettingsFlow**](FrontendApi.md#createbrowsersettingsflow) | **GET** /self-service/settings/browser | Create Settings Flow for Browsers
1717
[**createBrowserVerificationFlow**](FrontendApi.md#createbrowserverificationflow) | **GET** /self-service/verification/browser | Create Verification Flow for Browser Clients
18+
[**createFedcmFlow**](FrontendApi.md#createfedcmflow) | **GET** /self-service/fed-cm/parameters | Get FedCM Parameters
1819
[**createNativeLoginFlow**](FrontendApi.md#createnativeloginflow) | **GET** /self-service/login/api | Create Login Flow for Native Apps
1920
[**createNativeRecoveryFlow**](FrontendApi.md#createnativerecoveryflow) | **GET** /self-service/recovery/api | Create Recovery Flow for Native Apps
2021
[**createNativeRegistrationFlow**](FrontendApi.md#createnativeregistrationflow) | **GET** /self-service/registration/api | Create Registration Flow for Native Apps
@@ -33,6 +34,7 @@ Method | HTTP request | Description
3334
[**listMySessions**](FrontendApi.md#listmysessions) | **GET** /sessions | Get My Active Sessions
3435
[**performNativeLogout**](FrontendApi.md#performnativelogout) | **DELETE** /self-service/logout/api | Perform Logout for Native Apps
3536
[**toSession**](FrontendApi.md#tosession) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To
37+
[**updateFedcmFlow**](FrontendApi.md#updatefedcmflow) | **POST** /self-service/fed-cm/token | Submit a FedCM token
3638
[**updateLoginFlow**](FrontendApi.md#updateloginflow) | **POST** /self-service/login | Submit a Login Flow
3739
[**updateLogoutFlow**](FrontendApi.md#updatelogoutflow) | **GET** /self-service/logout | Update Logout Flow
3840
[**updateRecoveryFlow**](FrontendApi.md#updaterecoveryflow) | **POST** /self-service/recovery | Update Recovery Flow
@@ -321,6 +323,45 @@ No authorization required
321323

322324
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
323325

326+
# **createFedcmFlow**
327+
> CreateFedcmFlowResponse createFedcmFlow()
328+
329+
Get FedCM Parameters
330+
331+
This endpoint returns a list of all available FedCM providers. It is only supported on the Ory Network.
332+
333+
### Example
334+
```dart
335+
import 'package:ory_client/api.dart';
336+
337+
final api = OryClient().getFrontendApi();
338+
339+
try {
340+
final response = api.createFedcmFlow();
341+
print(response);
342+
} catch on DioException (e) {
343+
print('Exception when calling FrontendApi->createFedcmFlow: $e\n');
344+
}
345+
```
346+
347+
### Parameters
348+
This endpoint does not need any parameter.
349+
350+
### Return type
351+
352+
[**CreateFedcmFlowResponse**](CreateFedcmFlowResponse.md)
353+
354+
### Authorization
355+
356+
No authorization required
357+
358+
### HTTP request headers
359+
360+
- **Content-Type**: Not defined
361+
- **Accept**: application/json
362+
363+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
364+
324365
# **createNativeLoginFlow**
325366
> LoginFlow createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via)
326367
@@ -1133,6 +1174,49 @@ No authorization required
11331174

11341175
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
11351176

1177+
# **updateFedcmFlow**
1178+
> SuccessfulNativeLogin updateFedcmFlow(updateFedcmFlowBody)
1179+
1180+
Submit a FedCM token
1181+
1182+
Use this endpoint to submit a token from a FedCM provider through `navigator.credentials.get` and log the user in. The parameters from `navigator.credentials.get` must have come from `GET self-service/fed-cm/parameters`.
1183+
1184+
### Example
1185+
```dart
1186+
import 'package:ory_client/api.dart';
1187+
1188+
final api = OryClient().getFrontendApi();
1189+
final UpdateFedcmFlowBody updateFedcmFlowBody = ; // UpdateFedcmFlowBody |
1190+
1191+
try {
1192+
final response = api.updateFedcmFlow(updateFedcmFlowBody);
1193+
print(response);
1194+
} catch on DioException (e) {
1195+
print('Exception when calling FrontendApi->updateFedcmFlow: $e\n');
1196+
}
1197+
```
1198+
1199+
### Parameters
1200+
1201+
Name | Type | Description | Notes
1202+
------------- | ------------- | ------------- | -------------
1203+
**updateFedcmFlowBody** | [**UpdateFedcmFlowBody**](UpdateFedcmFlowBody.md)| |
1204+
1205+
### Return type
1206+
1207+
[**SuccessfulNativeLogin**](SuccessfulNativeLogin.md)
1208+
1209+
### Authorization
1210+
1211+
No authorization required
1212+
1213+
### HTTP request headers
1214+
1215+
- **Content-Type**: application/json, application/x-www-form-urlencoded
1216+
- **Accept**: application/json
1217+
1218+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1219+
11361220
# **updateLoginFlow**
11371221
> SuccessfulNativeLogin updateLoginFlow(flow, updateLoginFlowBody, xSessionToken, cookie)
11381222

doc/Provider.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ory_client.model.Provider
2+
3+
## Load the model package
4+
```dart
5+
import 'package:ory_client/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**clientId** | **String** | The RP's client identifier, issued by the IdP. | [optional]
12+
**configUrl** | **String** | A full path of the IdP config file. | [optional]
13+
**domainHint** | **String** | By specifying one of domain_hints values provided by the accounts endpoints, the FedCM dialog selectively shows the specified account. | [optional]
14+
**fields** | **BuiltList<String>** | Array of strings that specifies the user information (\"name\", \" email\", \"picture\") that RP needs IdP to share with them. Note: Field API is supported by Chrome 132 and later. | [optional]
15+
**loginHint** | **String** | By specifying one of login_hints values provided by the accounts endpoints, the FedCM dialog selectively shows the specified account. | [optional]
16+
**nonce** | **String** | A random string to ensure the response is issued for this specific request. Prevents replay attacks. | [optional]
17+
**parameters** | **BuiltMap<String, String>** | Custom object that allows to specify additional key-value parameters: scope: A string value containing additional permissions that RP needs to request, for example \" drive.readonly calendar.readonly\" nonce: A random string to ensure the response is issued for this specific request. Prevents replay attacks. Other custom key-value parameters. Note: parameters is supported from Chrome 132. | [optional]
18+
19+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
20+
21+

doc/UpdateFedcmFlowBody.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ory_client.model.UpdateFedcmFlowBody
2+
3+
## Load the model package
4+
```dart
5+
import 'package:ory_client/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**csrfToken** | **String** | CSRFToken is the anti-CSRF token. |
12+
**nonce** | **String** | Nonce is the nonce that was used in the `navigator.credentials.get` call. If specified, it must match the `nonce` claim in the token. | [optional]
13+
**token** | **String** | Token contains the result of `navigator.credentials.get`. |
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

lib/ory_client.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export 'package:ory_client/src/model/courier_message_status.dart';
5757
export 'package:ory_client/src/model/courier_message_type.dart';
5858
export 'package:ory_client/src/model/create_custom_domain_body.dart';
5959
export 'package:ory_client/src/model/create_event_stream_body.dart';
60+
export 'package:ory_client/src/model/create_fedcm_flow_response.dart';
6061
export 'package:ory_client/src/model/create_identity_body.dart';
6162
export 'package:ory_client/src/model/create_invite_response.dart';
6263
export 'package:ory_client/src/model/create_json_web_key_set.dart';
@@ -197,6 +198,7 @@ export 'package:ory_client/src/model/project_service_identity.dart';
197198
export 'package:ory_client/src/model/project_service_o_auth2.dart';
198199
export 'package:ory_client/src/model/project_service_permission.dart';
199200
export 'package:ory_client/src/model/project_services.dart';
201+
export 'package:ory_client/src/model/provider.dart';
200202
export 'package:ory_client/src/model/quota_usage.dart';
201203
export 'package:ory_client/src/model/rfc6749_error_json.dart';
202204
export 'package:ory_client/src/model/recovery_code_for_identity.dart';
@@ -251,6 +253,7 @@ export 'package:ory_client/src/model/ui_node_meta.dart';
251253
export 'package:ory_client/src/model/ui_node_script_attributes.dart';
252254
export 'package:ory_client/src/model/ui_node_text_attributes.dart';
253255
export 'package:ory_client/src/model/ui_text.dart';
256+
export 'package:ory_client/src/model/update_fedcm_flow_body.dart';
254257
export 'package:ory_client/src/model/update_identity_body.dart';
255258
export 'package:ory_client/src/model/update_login_flow_body.dart';
256259
export 'package:ory_client/src/model/update_login_flow_with_code_method.dart';

0 commit comments

Comments
 (0)