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
String loginChallenge ="loginChallenge_example"; // String | An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`).
69
69
String organization ="organization_example"; // String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.
70
70
String via ="via_example"; // String | Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead.
71
+
String identitySchema ="identitySchema_example"; // String | An optional identity schema to use for the registration flow.
71
72
try {
72
-
LoginFlow result = apiInstance.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via);
System.err.println("Exception when calling FrontendApi#createBrowserLoginFlow");
@@ -93,6 +94,7 @@ public class Example {
93
94
|**loginChallenge**|**String**| An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`). |[optional]|
94
95
|**organization**|**String**| An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. |[optional]|
95
96
|**via**|**String**| Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead. |[optional]|
97
+
|**identitySchema**|**String**| An optional identity schema to use for the registration flow. |[optional]|
String loginChallenge ="loginChallenge_example"; // String | Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network.
275
277
String afterVerificationReturnTo ="afterVerificationReturnTo_example"; // String | The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default `selfservice.flows.verification.after.default_redirect_to` value.
276
278
String organization ="organization_example"; // String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network.
279
+
String identitySchema ="identitySchema_example"; // String | An optional identity schema to use for the registration flow.
277
280
try {
278
-
RegistrationFlow result = apiInstance.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization);
281
+
RegistrationFlow result = apiInstance.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization, identitySchema);
279
282
System.out.println(result);
280
283
} catch (ApiException e) {
281
284
System.err.println("Exception when calling FrontendApi#createBrowserRegistrationFlow");
@@ -296,6 +299,7 @@ public class Example {
296
299
|**loginChallenge**|**String**| Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network. |[optional]|
297
300
|**afterVerificationReturnTo**|**String**| The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default `selfservice.flows.verification.after.default_redirect_to` value. |[optional]|
298
301
|**organization**|**String**| An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. |[optional]|
302
+
|**identitySchema**|**String**| An optional identity schema to use for the registration flow. |[optional]|
String returnTo ="returnTo_example"; // String | The URL to return the browser to after the flow was completed.
541
545
String organization ="organization_example"; // String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.
542
546
String via ="via_example"; // String | Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead.
547
+
String identitySchema ="identitySchema_example"; // String | An optional identity schema to use for the registration flow.
543
548
try {
544
-
LoginFlow result = apiInstance.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via);
System.err.println("Exception when calling FrontendApi#createNativeLoginFlow");
@@ -565,6 +570,7 @@ public class Example {
565
570
|**returnTo**|**String**| The URL to return the browser to after the flow was completed. |[optional]|
566
571
|**organization**|**String**| An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. |[optional]|
567
572
|**via**|**String**| Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead. |[optional]|
573
+
|**identitySchema**|**String**| An optional identity schema to use for the registration flow. |[optional]|
Boolean returnSessionTokenExchangeCode =true; // Boolean | EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
673
679
String returnTo ="returnTo_example"; // String | The URL to return the browser to after the flow was completed.
674
680
String organization ="organization_example"; // String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network.
681
+
String identitySchema ="identitySchema_example"; // String | An optional identity schema to use for the registration flow.
675
682
try {
676
-
RegistrationFlow result = apiInstance.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization);
683
+
RegistrationFlow result = apiInstance.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization, identitySchema);
677
684
System.out.println(result);
678
685
} catch (ApiException e) {
679
686
System.err.println("Exception when calling FrontendApi#createNativeRegistrationFlow");
@@ -693,6 +700,7 @@ public class Example {
693
700
|**returnSessionTokenExchangeCode**|**Boolean**| EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed. |[optional]|
694
701
|**returnTo**|**String**| The URL to return the browser to after the flow was completed. |[optional]|
695
702
|**organization**|**String**| An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. |[optional]|
703
+
|**identitySchema**|**String**| An optional identity schema to use for the registration flow. |[optional]|
Copy file name to clipboardExpand all lines: docs/NormalizedProjectRevisionIdentitySchema.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
|**isDefault**|**Boolean**| If true sets the default schema for identities Only one schema can ever be the default schema. If you try to add two schemas with default to true, the request will fail. |[optional]|
17
17
|**preset**|**String**| Use a preset instead of a custom identity schema. |[optional]|
18
18
|**projectRevisionId**|**String**| The Revision's ID this schema belongs to |[optional]|
0 commit comments