@asgardeo/javascript 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -160,6 +160,11 @@ export interface EmbeddedSignInFlowResponse extends ExtendedEmbeddedSignInFlowRe
|
|
|
160
160
|
* Used to maintain state across multiple API calls during the authentication process.
|
|
161
161
|
*/
|
|
162
162
|
flowId: string;
|
|
163
|
+
/**
|
|
164
|
+
* Optional reason for flow failure in case of an error.
|
|
165
|
+
* Provides additional context when flowStatus is set to ERROR.
|
|
166
|
+
*/
|
|
167
|
+
failureReason?: string;
|
|
163
168
|
/**
|
|
164
169
|
* Current status of the sign-in flow.
|
|
165
170
|
* Determines the next action required by the client application.
|
|
@@ -275,7 +280,7 @@ export type EmbeddedSignInFlowInitiateRequest = {
|
|
|
275
280
|
* // Continue existing flow with user input
|
|
276
281
|
* const stepRequest: EmbeddedSignInFlowRequest = {
|
|
277
282
|
* flowId: "flow_12345",
|
|
278
|
-
*
|
|
283
|
+
* action: "action_001",
|
|
279
284
|
* inputs: {
|
|
280
285
|
* username: "user@example.com",
|
|
281
286
|
* password: "securePassword123"
|
|
@@ -134,6 +134,11 @@ export interface EmbeddedSignUpFlowResponse extends ExtendedEmbeddedSignUpFlowRe
|
|
|
134
134
|
* Unique identifier for this sign-up flow instance.
|
|
135
135
|
*/
|
|
136
136
|
flowId: string;
|
|
137
|
+
/**
|
|
138
|
+
* Optional reason for flow failure in case of an error.
|
|
139
|
+
* Provides additional context when flowStatus is set to ERROR.
|
|
140
|
+
*/
|
|
141
|
+
failureReason?: string;
|
|
137
142
|
/**
|
|
138
143
|
* Current status of the sign-up flow.
|
|
139
144
|
* Determines whether more input is needed or the flow is complete.
|
|
@@ -186,7 +191,7 @@ export type EmbeddedSignUpFlowInitiateRequest = {
|
|
|
186
191
|
*/
|
|
187
192
|
export interface EmbeddedSignUpFlowRequest extends Partial<EmbeddedSignUpFlowInitiateRequest> {
|
|
188
193
|
flowId?: string;
|
|
189
|
-
|
|
194
|
+
action?: string;
|
|
190
195
|
inputs?: Record<string, any>;
|
|
191
196
|
}
|
|
192
197
|
/**
|