You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[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)
323
325
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');
[[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)
[[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)
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');
[[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)
**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)
**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)
0 commit comments